1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winex11: Accept key and mouse events with QS_RAWINPUT.

This commit is contained in:
Rémi Bernon 2024-03-18 11:41:32 +01:00 committed by Alexandre Julliard
parent 5d8e8804d4
commit f1dca8914c

View file

@ -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: