Lines Matching refs:X
81 XEvent X; in xnestCollectExposures() local
86 while (XCheckIfEvent(xnestDisplay, &X, xnestExposurePredicate, NULL)) { in xnestCollectExposures()
87 pWin = xnestWindowPtr(X.xexpose.window); in xnestCollectExposures()
89 if (pWin && X.xexpose.width && X.xexpose.height) { in xnestCollectExposures()
90 Box.x1 = pWin->drawable.x + wBorderWidth(pWin) + X.xexpose.x; in xnestCollectExposures()
91 Box.y1 = pWin->drawable.y + wBorderWidth(pWin) + X.xexpose.y; in xnestCollectExposures()
92 Box.x2 = Box.x1 + X.xexpose.width; in xnestCollectExposures()
93 Box.y2 = Box.y1 + X.xexpose.height; in xnestCollectExposures()
112 XEvent X; in xnestCollectEvents() local
117 while (XCheckIfEvent(xnestDisplay, &X, xnestNotExposurePredicate, NULL)) { in xnestCollectEvents()
118 switch (X.type) { in xnestCollectEvents()
120 xnestUpdateModifierState(X.xkey.state); in xnestCollectEvents()
121 xnestQueueKeyEvent(KeyPress, X.xkey.keycode); in xnestCollectEvents()
125 xnestUpdateModifierState(X.xkey.state); in xnestCollectEvents()
126 xnestQueueKeyEvent(KeyRelease, X.xkey.keycode); in xnestCollectEvents()
131 xnestUpdateModifierState(X.xkey.state); in xnestCollectEvents()
134 X.xbutton.button, POINTER_RELATIVE, &mask); in xnestCollectEvents()
139 xnestUpdateModifierState(X.xkey.state); in xnestCollectEvents()
142 X.xbutton.button, POINTER_RELATIVE, &mask); in xnestCollectEvents()
146 valuators[0] = X.xmotion.x; in xnestCollectEvents()
147 valuators[1] = X.xmotion.y; in xnestCollectEvents()
155 if (X.xfocus.detail != NotifyInferior) { in xnestCollectEvents()
156 pScreen = xnestScreen(X.xfocus.window); in xnestCollectEvents()
163 if (X.xfocus.detail != NotifyInferior) { in xnestCollectEvents()
164 pScreen = xnestScreen(X.xfocus.window); in xnestCollectEvents()
174 if (X.xcrossing.detail != NotifyInferior) { in xnestCollectEvents()
175 pScreen = xnestScreen(X.xcrossing.window); in xnestCollectEvents()
177 NewCurrentScreen(inputInfo.pointer, pScreen, X.xcrossing.x, in xnestCollectEvents()
178 X.xcrossing.y); in xnestCollectEvents()
179 valuators[0] = X.xcrossing.x; in xnestCollectEvents()
180 valuators[1] = X.xcrossing.y; in xnestCollectEvents()
191 if (X.xcrossing.detail != NotifyInferior) { in xnestCollectEvents()
192 pScreen = xnestScreen(X.xcrossing.window); in xnestCollectEvents()
201 X.xdestroywindow.window == xnestParentWindow) in xnestCollectEvents()