|
|
1.1 root 1: #include "copyright.h"
2:
3: /* $Header: XClear.c,v 11.6 87/09/11 08:02:00 toddb Exp $ */
4: /* Copyright Massachusetts Institute of Technology 1986 */
5:
6: #include "Xlibint.h"
7:
8: XClearWindow(dpy, w)
9: register Display *dpy;
10: Window w;
11: {
12: register xClearAreaReq *req;
13:
14: LockDisplay(dpy);
15: GetReq(ClearArea, req);
16: req->window = w;
17: req->x = req->y = req->width = req->height = 0;
18: /* these values mean "clear the entire window" */
19: req->exposures = xFalse;
20: UnlockDisplay(dpy);
21: SyncHandle();
22: }
23:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.