mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[NTUSER] Remove some extra repaints/redraws (#6827)
Reposition logic and add Flags testing for RgnType == NULLREGION. This was suggested by @HBelusca and approved by @I_Kill_Bugs
This commit is contained in:
parent
30226f834d
commit
29235147e2
|
@ -698,6 +698,12 @@ IntInvalidateWindows(PWND Wnd, PREGION Rgn, ULONG Flags)
|
|||
RgnType = NULLREGION;
|
||||
}
|
||||
|
||||
/* Nothing to paint, just return */
|
||||
if ((RgnType == NULLREGION && (Flags & RDW_INVALIDATE)) || RgnType == ERROR)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Save current state of pending updates
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue