Lines Matching refs:xw_display
166 XMapRaised(mga_xw.xw_display, mga_xw.xw_window);
180 if (mga_xw.xw_display == NULL)
183 XUnmapWindow(mga_xw.xw_display, mga_xw.xw_window);
210 if (mga_xw.xw_display == NULL) {
211 mga_xw.xw_display = XOpenDisplay(mga_xw.xw_dispname);
213 if (mga_xw.xw_display == NULL) {
225 mga_xw.xw_dispname, mga_xw.xw_display);
229 XSynchronize(mga_xw.xw_display, True);
242 register Window const root = RootWindow(mga_xw.xw_display,
250 emptypixmap = XCreateBitmapFromData(mga_xw.xw_display, root, "", 1, 1);
252 mga_xw.xw_cursor = XCreatePixmapCursor(mga_xw.xw_display,
261 XFreePixmap(mga_xw.xw_display, emptypixmap);
271 register Window const root = RootWindow(mga_xw.xw_display,
273 register int const width = DisplayWidth(mga_xw.xw_display,
275 register int const height = DisplayHeight(mga_xw.xw_display,
290 mga_xw.xw_window = XCreateWindow(mga_xw.xw_display,
316 mga_xw.xw_grab_server = XGrabServer(mga_xw.xw_display);
332 mga_xw.xw_grab_server = !XUngrabServer(mga_xw.xw_display);
350 status = XGrabKeyboard(mga_xw.xw_display, mga_xw.xw_window,
380 status = XUngrabKeyboard(mga_xw.xw_display, CurrentTime);
401 status = XGrabPointer(mga_xw.xw_display, mga_xw.xw_window,
436 status = XUngrabPointer(mga_xw.xw_display, CurrentTime);
452 XGetScreenSaver(mga_xw.xw_display,
469 XResetScreenSaver(mga_xw.xw_display);
473 XSetScreenSaver(mga_xw.xw_display,
501 XSetScreenSaver(mga_xw.xw_display,
533 status = DPMSQueryExtension(mga_xw.xw_display,
545 mga_xw.xw_dpms_saved = DPMSInfo(mga_xw.xw_display,
561 DPMSDisable(mga_xw.xw_display);
584 DPMSEnable(mga_xw.xw_display);