winex11: Accept key and mouse events with QS_RAWINPUT.
This commit is contained in:
parent
5d8e8804d4
commit
f1dca8914c
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue