Lines Matching refs:XConstants
59 private static final int ROOT_EVENT_MASK = (int)XConstants.ButtonMotionMask |
60 (int)XConstants.KeyPressMask | (int)XConstants.KeyReleaseMask;
62 private static final int GRAB_EVENT_MASK = (int)XConstants.ButtonPressMask |
63 (int)XConstants.ButtonMotionMask | (int)XConstants.ButtonReleaseMask;
200 XConstants.GrabModeAsync,
201 XConstants.GrabModeAsync,
202 XConstants.None, xcursor, timeStamp);
204 if (status != XConstants.GrabSuccess) {
212 XConstants.GrabModeAsync,
213 XConstants.GrabModeAsync,
216 if (status != XConstants.GrabSuccess) {
280 XConstants.CurrentTime);
291 case XConstants.GrabNotViewable: msgCause = "not viewable"; break;
292 case XConstants.AlreadyGrabbed: msgCause = "already grabbed"; break;
293 case XConstants.GrabInvalidTime: msgCause = "invalid time"; break;
294 case XConstants.GrabFrozen: msgCause = "grab frozen"; break;
541 if (ev.get_type() != (int)XConstants.ClientMessage) {
583 case XConstants.ClientMessage: {
587 case XConstants.DestroyNotify: {
594 cleanup(XConstants.CurrentTime);
608 case XConstants.KeyRelease:
609 case XConstants.KeyPress: {
615 if (ev.get_type() == (int)XConstants.KeyRelease) {
635 xmotion.set_type(XConstants.MotionNotify);
662 case XConstants.ButtonPress:
664 case XConstants.MotionNotify:
667 case XConstants.ButtonRelease: {
685 xmotion.set_type(XConstants.MotionNotify);
707 if (xbutton.get_button() == XConstants.buttons[0]
708 || xbutton.get_button() == XConstants.buttons[1]) {
802 cleanup(XConstants.CurrentTime);