Lines Matching refs:win
177 void (*callback) (Window win) = NULL;
178 void (*init) (Window win) = NULL;
181 static Window win[MAXSCREENS]; /* window used to cover screen */
284 status = XGrabKeyboard(dsp, win[0], True,
288 status = XGrabKeyboard(dsp, win[0], True,
294 status = XGrabPointer(dsp, win[0], True, AllPointerEventMask,
299 status = XGrabPointer(dsp, win[0], True, AllPointerEventMask,
317 (void) XGrabPointer(dsp, win[0], True, AllPointerEventMask,
380 init(win[screen]);
393 callback(win[screen]);
453 XFillRectangle(dsp, win[screen], Scr[screen].gc,
457 XDrawString(dsp, win[screen], textgc[screen],
485 XRaiseWindow(dsp, win[screen]);
551 XFillRectangle(dsp, win[screen], Scr[screen].gc,
555 XDrawString(dsp, win[screen], textgc[screen],
557 XDrawString(dsp, win[screen], textgc[screen],
574 XFillRectangle(dsp, win[screen], Scr[screen].gc,
579 XDrawString(dsp, win[screen], textgc[screen],
867 XGetWindowAttributes(dsp, win[screen], &xgwa);
872 XFillRectangle(dsp, win[screen], Scr[screen].gc,
881 XDrawString(dsp, win[screen], textgc[screen],
883 XDrawString(dsp, win[screen], textgc[screen],
885 XDrawString(dsp, win[screen], textgc[screen],
891 XDrawString(dsp, win[screen], textgc[screen],
1032 XFillRectangle(dsp, win[screen], Scr[screen].gc,
1070 init(win[screen]);
1076 callback(win[screen]);
1239 win[screen] = XCreateWindow(dsp, root[screen], 0, 0, WIDTH, HEIGHT, 0,
1249 XChangeProperty(dsp, win[screen],
1266 icon[screen] = XCreateWindow(dsp, win[screen],
1272 XMapWindow(dsp, win[screen]);
1273 XRaiseWindow(dsp, win[screen]);
1278 Scr[screen].gc = XCreateGC(dsp, win[screen],
1284 textgc[screen] = XCreateGC(dsp, win[screen],