Commit 95cf00f3 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Flush the display after releasing the capture to make sure it happens right away.

parent 9876c543
......@@ -1958,6 +1958,7 @@ void CDECL X11DRV_SetCapture( HWND hwnd, UINT flags )
wine_tsx11_lock();
XFlush( gdi_display );
XUngrabPointer( thread_data->display, CurrentTime );
XFlush( thread_data->display );
wine_tsx11_unlock();
thread_data->grab_window = None;
}
......
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