From 2f368cfad284014396813533821754acf8e4bc70 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 30 Mar 2011 12:34:45 +0200 Subject: [PATCH] user32: Reset the cursor clip rectangle before moving a window. --- dlls/user32/winpos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c index a8324e8bfee..789238f02f9 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);