Commit 78de7e36 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Grab the pointer in menu tracking mode too.

parent 5787c12b
......@@ -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;
}
......
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