Lines Matching refs:ev
47 static Bool isMapNotify(Display *dpy, XEvent *ev, XPointer win) in isMapNotify() argument
49 return ev->type == MapNotify && ev->xmap.window == *((Window*)win); in isMapNotify()
51 static Bool isUnmapNotify(Display *dpy, XEvent *ev, XPointer win) in isUnmapNotify() argument
53 return ev->type == UnmapNotify && ev->xunmap.window == *((Window*)win); in isUnmapNotify()
1355 XEvent ev; in X11_BeginWindowFullscreenLegacy() local
1390 X11_XIfEvent(display, &ev, &isMapNotify, (XPointer)&data->fswindow); in X11_BeginWindowFullscreenLegacy()
1391 X11_XCheckIfEvent(display, &ev, &isUnmapNotify, (XPointer)&data->fswindow); in X11_BeginWindowFullscreenLegacy()
1414 X11_XIfEvent(display, &ev, &isMapNotify, (XPointer)&data->xwindow); in X11_BeginWindowFullscreenLegacy()
1415 X11_XCheckIfEvent(display, &ev, &isUnmapNotify, (XPointer)&data->xwindow); in X11_BeginWindowFullscreenLegacy()
1429 XEvent ev; in X11_EndWindowFullscreenLegacy() local
1449 X11_XCheckIfEvent(display, &ev, &isMapNotify, (XPointer)&data->xwindow); in X11_EndWindowFullscreenLegacy()
1450 X11_XCheckIfEvent(display, &ev, &isUnmapNotify, (XPointer)&data->xwindow); in X11_EndWindowFullscreenLegacy()
1458 X11_XIfEvent(display, &ev, &isUnmapNotify, (XPointer)&fswindow); in X11_EndWindowFullscreenLegacy()