[ros-diffs] [gvg] 19891: Check the update rect, not the region. The region might contain only non-client

gvg at svn.reactos.com gvg at svn.reactos.com
Sun Dec 4 23:28:56 CET 2005


Check the update rect, not the region. The region might contain only
non-client
parts
Modified: trunk/reactos/subsys/win32k/ntuser/painting.c
  _____  

Modified: trunk/reactos/subsys/win32k/ntuser/painting.c
--- trunk/reactos/subsys/win32k/ntuser/painting.c	2005-12-04
22:20:50 UTC (rev 19890)
+++ trunk/reactos/subsys/win32k/ntuser/painting.c	2005-12-04
22:28:29 UTC (rev 19891)
@@ -995,7 +995,7 @@

       }
    }
 
-   RETURN(Window->UpdateRegion != NULL);
+   RETURN(!IntGdiIsEmptyRect(&Rect));
 
 CLEANUP:
    DPRINT("Leave NtUserGetUpdateRect, ret=%i\n",_ret_);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051204/9e43359d/attachment.html


More information about the Ros-diffs mailing list