Vincent Povirk : winex11.drv: Process keyboard events when QS_HOTKEY is specified.

Alexandre Julliard julliard at winehq.org
Wed Jul 6 13:31:11 CDT 2011


Module: wine
Branch: master
Commit: 7a21d06295269e19139abf50a50cdc857fdb2078
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7a21d06295269e19139abf50a50cdc857fdb2078

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Fri Jun 17 14:01:13 2011 -0500

winex11.drv: Process keyboard events when QS_HOTKEY is specified.

---

 dlls/winex11.drv/event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index 419ad0f..00915cf 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -213,7 +213,7 @@ static Bool filter_event( Display *display, XEvent *event, char *arg )
     case KeyRelease:
     case KeymapNotify:
     case MappingNotify:
-        return (mask & QS_KEY) != 0;
+        return (mask & (QS_KEY|QS_HOTKEY)) != 0;
     case ButtonPress:
     case ButtonRelease:
         return (mask & QS_MOUSEBUTTON) != 0;




More information about the wine-cvs mailing list