dlls/x11drv/mouse.c
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Wed Sep 7 13:42:10 CDT 2005
We had a XFlush call in X11DRV_SetCursorPos before but it was removed for
some reason. This restores the call and fixes a regression in JInitiator
where the mouse position was being reported incorrectly.
ChangeLog:
Ulrich Czekalla <uczekalla at codeweavers.com>
Restore XFlush in X11DRV_SetCursorPos
-------------- next part --------------
Index: dlls/x11drv/mouse.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/mouse.c,v
retrieving revision 1.25
diff -u -p -r1.25 mouse.c
--- dlls/x11drv/mouse.c 16 Aug 2005 16:02:45 -0000 1.25
+++ dlls/x11drv/mouse.c 7 Sep 2005 18:38:13 -0000
@@ -699,6 +699,7 @@ BOOL X11DRV_SetCursorPos( INT x, INT y )
XWarpPointer( display, root_window, root_window, 0, 0, 0, 0, x, y );
cursor_pos.x = x;
cursor_pos.y = y;
+ XFlush(display);
wine_tsx11_unlock();
return TRUE;
}
More information about the wine-patches
mailing list