[ros-diffs] [gadamopoulos] 53215: [win32k] - Do not offset the region in NtUserSetWindowRgn

gadamopoulos at svn.reactos.org gadamopoulos at svn.reactos.org
Sat Aug 13 21:17:45 UTC 2011


Author: gadamopoulos
Date: Sat Aug 13 21:17:44 2011
New Revision: 53215

URL: http://svn.reactos.org/svn/reactos?rev=53215&view=rev
Log:
[win32k]
- Do not offset the region in NtUserSetWindowRgn

Modified:
    branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/winpos.c

Modified: branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/winpos.c
URL: http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/winpos.c?rev=53215&r1=53214&r2=53215&view=diff
==============================================================================
--- branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] (original)
+++ branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] Sat Aug 13 21:17:44 2011
@@ -2082,9 +2082,6 @@
 
    if (hrgnCopy)
    {
-      if (Window->fnid != FNID_DESKTOP)
-         NtGdiOffsetRgn(hrgnCopy, Window->rcWindow.left, Window->rcWindow.top);
-
       /* Set public ownership */
       IntGdiSetRegionOwner(hrgnCopy, GDI_OBJ_HMGR_PUBLIC);
    }




More information about the Ros-diffs mailing list