[NTUSER] co_WinPosSetWindowPos(): Fix missing redraw (#8572)

Fixes missing outline and garbage in the shell search combo box
when the separator is moved.

CORE-19912, CORE-19147
This commit is contained in:
Doug Lyons
2026-01-10 14:20:17 -06:00
committed by GitHub
parent 886628eaa1
commit c77e0e5124

View File

@@ -2023,7 +2023,8 @@ co_WinPosSetWindowPos(
Window->state |= WNDS_SENDNCPAINT;
}
if (!(WinPos.flags & SWP_NOREDRAW) && ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE))
if ((!(WinPos.flags & SWP_NOREDRAW) && ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE)) ||
((WinPos.flags & SWP_NOZORDER) && (WinPos.flags & SWP_NOOWNERZORDER)))
{
/* Determine the new visible region */
VisAfter = VIS_ComputeVisibleRegion(Window, FALSE, FALSE,