Author: jimtabor
Date: Fri Sep 18 09:28:20 2015
New Revision: 69263
URL:
http://svn.reactos.org/svn/reactos?rev=69263&view=rev
Log:
[Win32k]
- Fix a activation drawing issue, if the window is not activated do not draw it active.
Used testmenu program from CORE-1573 to test it. If this creates a new problem please open
a Jira report.
Modified:
trunk/reactos/win32ss/user/ntuser/nonclient.c
Modified: trunk/reactos/win32ss/user/ntuser/nonclient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/noncli…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/nonclient.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/nonclient.c [iso-8859-1] Fri Sep 18 09:28:20 2015
@@ -1096,11 +1096,12 @@
if (Active)
{
- if (!(pWnd->state & WNDS_ACTIVEFRAME))
+ if (pWnd->state & WNDS_ACTIVEFRAME)
+ Flags |= DC_ACTIVE;
+ else
{
ERR("Wnd is active and not set active!\n");
}
- Flags |= DC_ACTIVE;
}
TempRect = CurrentRect;