From c77e0e5124dd17f6fef659e308d9b0abe4830a98 Mon Sep 17 00:00:00 2001 From: Doug Lyons Date: Sat, 10 Jan 2026 14:20:17 -0600 Subject: [PATCH] [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 --- win32ss/user/ntuser/winpos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c index 1fb5bda74af..c2f00e66f8f 100644 --- a/win32ss/user/ntuser/winpos.c +++ b/win32ss/user/ntuser/winpos.c @@ -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,