From 3bec896bc64fb63f41988cfbc9e3200c1fd41f47 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Thu, 3 Mar 2011 17:32:20 +0000 Subject: [PATCH 1/1] [Win32k] - Missed the clearing of the clip region for the window at the end of of its life. The mouse is looking for the window, doing so, scanning through all of them, even the ones that are at deaths door. svn path=/trunk/; revision=50962 --- reactos/subsystems/win32/win32k/ntuser/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 00d454b05bd..7be4ef57280 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -472,6 +472,7 @@ static LRESULT co_UserFreeWindow(PWND Window, if(Window->hrgnClip) { GreDeleteObject(Window->hrgnClip); + Window->hrgnClip = NULL; } // ASSERT(Window != NULL); -- 2.17.1