mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
[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. svn path=/trunk/; revision=69263
This commit is contained in:
parent
fe3d8770c2
commit
9fc803f366
1 changed files with 3 additions and 2 deletions
|
@ -1096,11 +1096,12 @@ NC_DoNCPaint(PWND pWnd, HDC hDC, INT Flags)
|
||||||
|
|
||||||
if (Active)
|
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");
|
ERR("Wnd is active and not set active!\n");
|
||||||
}
|
}
|
||||||
Flags |= DC_ACTIVE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TempRect = CurrentRect;
|
TempRect = CurrentRect;
|
||||||
|
|
Loading…
Reference in a new issue