Alexandre Julliard : winex11: Send WM_ENTERSIZEMOVE when starting to poll for a window move/resize.

Alexandre Julliard julliard at winehq.org
Tue Dec 11 14:41:15 CST 2012


Module: wine
Branch: master
Commit: 91ebca2bf10e3ef5edcb65868a8f3ce96d514e1f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=91ebca2bf10e3ef5edcb65868a8f3ce96d514e1f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Dec 11 13:57:35 2012 +0100

winex11: Send WM_ENTERSIZEMOVE when starting to poll for a window move/resize.

---

 dlls/winex11.drv/mouse.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 47a453c..8870665 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -1350,6 +1350,8 @@ void move_resize_window( HWND hwnd, int dir )
     /* (some apps don't like it if we return before the size/move is done) */
 
     if (!button) return;
+    SendMessageW( hwnd, WM_ENTERSIZEMOVE, 0, 0 );
+
     for (;;)
     {
         MSG msg;




More information about the wine-cvs mailing list