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()