Alexandre Julliard : user32: Reset the cursor clip rectangle before moving a window.

Alexandre Julliard julliard at winehq.org
Wed Mar 30 13:15:37 CDT 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Mar 30 12:34:45 2011 +0200

user32: Reset the cursor clip rectangle before moving a window.

---

 dlls/user32/winpos.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
index a8324e8..789238f 100644
--- a/dlls/user32/winpos.c
+++ b/dlls/user32/winpos.c
@@ -2491,6 +2491,7 @@ void WINPOS_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
     pt.x = (short)LOWORD(dwPoint);
     pt.y = (short)HIWORD(dwPoint);
     capturePoint = pt;
+    ClipCursor( NULL );
 
     TRACE("hwnd %p command %04lx, hittest %d, pos %d,%d\n",
           hwnd, syscommand, hittest, pt.x, pt.y);




More information about the wine-cvs mailing list