Tim Clem : winemac.drv: Stop cursor clipping when a window is resized by dragging.

Alexandre Julliard julliard at winehq.org
Wed Oct 20 15:58:42 CDT 2021


Module: wine
Branch: master
Commit: 184048042e125e26893bcf1ed9791162777304a2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=184048042e125e26893bcf1ed9791162777304a2

Author: Tim Clem <tclem at codeweavers.com>
Date:   Tue Oct 19 14:21:11 2021 -0700

winemac.drv: Stop cursor clipping when a window is resized by dragging.

Testing on Windows confirms this behavior.

Signed-off-by: Tim Clem <tclem at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winemac.drv/window.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/winemac.drv/window.c b/dlls/winemac.drv/window.c
index e25e142bd1a..eb23812d57c 100644
--- a/dlls/winemac.drv/window.c
+++ b/dlls/winemac.drv/window.c
@@ -2873,6 +2873,8 @@ BOOL query_resize_start(HWND hwnd)
 {
     TRACE("hwnd %p\n", hwnd);
 
+    ClipCursor(NULL);
+
     sync_window_min_max_info(hwnd);
     SendMessageW(hwnd, WM_ENTERSIZEMOVE, 0, 0);
 




More information about the wine-cvs mailing list