Commit f1dca891 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winex11: Accept key and mouse events with QS_RAWINPUT.

parent 5d8e8804
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment