Module: wine Branch: master Commit: f1dca8914ca8a93aa28a6856b5ebfc540aea8ca7 URL: https://gitlab.winehq.org/wine/wine/-/commit/f1dca8914ca8a93aa28a6856b5ebfc5...
Author: Rémi Bernon rbernon@codeweavers.com Date: Mon Mar 18 11:41:32 2024 +0100
winex11: Accept key and mouse events with QS_RAWINPUT.
---
dlls/winex11.drv/event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index 8b02361aaff..379b27b3f70 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -229,14 +229,14 @@ static Bool filter_event( Display *display, XEvent *event, char *arg ) case KeyRelease: case KeymapNotify: case MappingNotify: - return (mask & (QS_KEY|QS_HOTKEY)) != 0; + return (mask & (QS_KEY | QS_HOTKEY | QS_RAWINPUT)) != 0; case ButtonPress: case ButtonRelease: - return (mask & QS_MOUSEBUTTON) != 0; + return (mask & (QS_MOUSEBUTTON | QS_RAWINPUT)) != 0; case MotionNotify: case EnterNotify: case LeaveNotify: - return (mask & QS_MOUSEMOVE) != 0; + return (mask & (QS_MOUSEMOVE | QS_RAWINPUT)) != 0; case Expose: return (mask & QS_PAINT) != 0; case FocusIn: