From 984657bdf02f4deade9287c0d84ae101560fdcf3 Mon Sep 17 00:00:00 2001 From: Ahmed Arif Date: Mon, 8 Jun 2026 12:48:12 +0200 Subject: [PATCH] [WIN32SS:ENG] Fix Y coordinate of the software pointer exclude rectangle (#9116) Crazy that this typo survived two decades, but here we are, that might fix some GDI test. Bug was introduced in https://github.com/reactos/reactos/commit/50b193239bd9554a4e7cf671a001dc12ec726454 (r12035). --- win32ss/gdi/eng/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32ss/gdi/eng/mouse.c b/win32ss/gdi/eng/mouse.c index 9cbadcd87a7..1ea4ef827fe 100644 --- a/win32ss/gdi/eng/mouse.c +++ b/win32ss/gdi/eng/mouse.c @@ -543,7 +543,7 @@ EngSetPointerShape( if (prcl != NULL) { prcl->left = x - pgp->HotSpot.x; - prcl->top = y - pgp->HotSpot.x; + prcl->top = y - pgp->HotSpot.y; prcl->right = prcl->left + pgp->Size.cx; prcl->bottom = prcl->top + pgp->Size.cy; }