winex11: Flush the display after releasing the capture to make sure it happens right away.
This commit is contained in:
parent
9876c5433f
commit
95cf00f30b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue