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

This commit is contained in:
Alexandre Julliard 2009-01-26 15:12:55 +01:00
parent 9876c5433f
commit 95cf00f30b
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}