Lines Matching refs:xEvent
390 void X11Window::processEvent(const XEvent &xEvent) in processEvent() argument
393 switch (xEvent.type) in processEvent()
402 switch (xEvent.xbutton.button) in processEvent()
446 event.mouseButton.x = xEvent.xbutton.x; in processEvent()
447 event.mouseButton.y = xEvent.xbutton.y; in processEvent()
458 switch (xEvent.xbutton.button) in processEvent()
484 event.mouseButton.x = xEvent.xbutton.x; in processEvent()
485 event.mouseButton.y = xEvent.xbutton.y; in processEvent()
495 event.key.code = X11CodeToKey(mDisplay, xEvent.xkey.keycode); in processEvent()
496 AddX11KeyStateToEvent(&event, xEvent.xkey.state); in processEvent()
505 event.key.code = X11CodeToKey(mDisplay, xEvent.xkey.keycode); in processEvent()
506 AddX11KeyStateToEvent(&event, xEvent.xkey.state); in processEvent()
531 event.mouseMove.x = xEvent.xmotion.x; in processEvent()
532 event.mouseMove.y = xEvent.xmotion.y; in processEvent()
539 if (xEvent.xconfigure.width != mWidth || xEvent.xconfigure.height != mHeight) in processEvent()
543 event.size.width = xEvent.xconfigure.width; in processEvent()
544 event.size.height = xEvent.xconfigure.height; in processEvent()
547 if (xEvent.xconfigure.x != mX || xEvent.xconfigure.y != mY) in processEvent()
573 if (xEvent.xfocus.mode == NotifyNormal || xEvent.xfocus.mode == NotifyWhileGrabbed) in processEvent()
582 if (xEvent.xfocus.mode == NotifyNormal || xEvent.xfocus.mode == NotifyWhileGrabbed) in processEvent()
595 if (xEvent.xclient.message_type == WM_PROTOCOLS && in processEvent()
596 static_cast<Atom>(xEvent.xclient.data.l[0]) == WM_DELETE_WINDOW) in processEvent()
602 else if (xEvent.xclient.message_type == TEST_EVENT) in processEvent()