projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3d877
)
[Win32k]
author
James Tabor
<james.tabor@reactos.org>
Fri, 18 Sep 2015 09:28:20 +0000
(09:28 +0000)
committer
James Tabor
<james.tabor@reactos.org>
Fri, 18 Sep 2015 09:28:20 +0000
(09:28 +0000)
- 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.
svn path=/trunk/; revision=69263
reactos/win32ss/user/ntuser/nonclient.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/nonclient.c
b/reactos/win32ss/user/ntuser/nonclient.c
index
dcefc8b
..
6fa7dab
100644
(file)
--- a/
reactos/win32ss/user/ntuser/nonclient.c
+++ b/
reactos/win32ss/user/ntuser/nonclient.c
@@
-1096,11
+1096,12
@@
NC_DoNCPaint(PWND pWnd, HDC hDC, INT Flags)
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;