Module: wine Branch: master Commit: 78de7e363b8b9aeb0b7adb1083186da4ae58899a URL: http://source.winehq.org/git/wine.git/?a=commit;h=78de7e363b8b9aeb0b7adb1083...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 24 17:59:40 2008 +0100
winex11: Grab the pointer in menu tracking mode too.
---
dlls/winex11.drv/window.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 4a393d9..ca76230 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1563,7 +1563,7 @@ void X11DRV_SetCapture( HWND hwnd, UINT flags ) { struct x11drv_thread_data *thread_data = x11drv_thread_data();
- if (!(flags & GUI_INMOVESIZE)) return; + if (!(flags & (GUI_INMOVESIZE | GUI_INMENUMODE))) return;
if (hwnd) { @@ -1574,7 +1574,7 @@ void X11DRV_SetCapture( HWND hwnd, UINT flags ) XFlush( gdi_display ); XGrabPointer( thread_data->display, grab_win, False, PointerMotionMask | ButtonPressMask | ButtonReleaseMask, - GrabModeAsync, GrabModeAsync, root_window, None, CurrentTime ); + GrabModeAsync, GrabModeAsync, None, None, CurrentTime ); wine_tsx11_unlock(); thread_data->grab_window = grab_win; }