Alexandre Julliard : winex11: Flush the display after releasing the capture to make sure it happens right away .
Alexandre Julliard
julliard at winehq.org
Mon Jan 26 10:14:26 CST 2009
Module: wine
Branch: master
Commit: 95cf00f30b5fb155fa5297a784a0edb0f34232c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=95cf00f30b5fb155fa5297a784a0edb0f34232c8
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jan 26 15:12:55 2009 +0100
winex11: Flush the display after releasing the capture to make sure it happens right away.
---
dlls/winex11.drv/window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 99156b6..31800f7 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -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;
}
More information about the wine-cvs
mailing list