[Win32k]
authorJames Tabor <james.tabor@reactos.org>
Tue, 8 Sep 2015 14:18:56 +0000 (14:18 +0000)
committerJames Tabor <james.tabor@reactos.org>
Tue, 8 Sep 2015 14:18:56 +0000 (14:18 +0000)
- Fix non-client paint. See CORE-10101.

svn path=/trunk/; revision=69118

reactos/win32ss/user/ntuser/nonclient.c

index 325c17b..dcefc8b 100644 (file)
@@ -1041,9 +1041,11 @@ NC_DoNCPaint(PWND pWnd, HDC hDC, INT Flags)
       {
          Active = (gpqForeground == pWnd->head.pti->MessageQueue);
       }
+      Flags = DC_NC; // Redraw everything!
    }
+   else
+      Flags |= DC_NC;
 
-   Flags = DC_NC; // Redraw everything!
 
    IntGetWindowRect(pWnd, &WindowRect);