[Win32k]
authorJames Tabor <james.tabor@reactos.org>
Thu, 3 Mar 2011 17:32:20 +0000 (17:32 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 3 Mar 2011 17:32:20 +0000 (17:32 +0000)
- 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

index 00d454b..7be4ef5 100644 (file)
@@ -472,6 +472,7 @@ static LRESULT co_UserFreeWindow(PWND Window,
    if(Window->hrgnClip)
    {
       GreDeleteObject(Window->hrgnClip);
+      Window->hrgnClip = NULL;
    }
 
 //   ASSERT(Window != NULL);