Alexandre Julliard : winex11.drv: Make sure to erase the dragging frame before moving the window.
Alexandre Julliard
julliard at winehq.org
Wed Nov 21 07:47:45 CST 2007
Module: wine
Branch: master
Commit: d4e1debee77eb02270e1cde78a3def94353318b1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4e1debee77eb02270e1cde78a3def94353318b1
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Nov 21 13:22:42 2007 +0100
winex11.drv: Make sure to erase the dragging frame before moving the window.
---
dlls/winex11.drv/winpos.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c
index e4ce6f5..c01f702 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -1454,7 +1454,13 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
}
}
else if (moved && !DragFullWindows)
+ {
draw_moving_frame( hdc, &sizingRect, thickframe );
+ /* make sure the moving frame is erased before we move the window */
+ wine_tsx11_lock();
+ XFlush( gdi_display );
+ wine_tsx11_unlock();
+ }
ReleaseDC( parent, hdc );
More information about the wine-cvs
mailing list