Skip to content

Commit c77e0e5

Browse files
authored
[NTUSER] co_WinPosSetWindowPos(): Fix missing redraw (reactos#8572)
Fixes missing outline and garbage in the shell search combo box when the separator is moved. CORE-19912, CORE-19147
1 parent 886628e commit c77e0e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

win32ss/user/ntuser/winpos.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2023,7 +2023,8 @@ co_WinPosSetWindowPos(
20232023
Window->state |= WNDS_SENDNCPAINT;
20242024
}
20252025

2026-
if (!(WinPos.flags & SWP_NOREDRAW) && ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE))
2026+
if ((!(WinPos.flags & SWP_NOREDRAW) && ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE)) ||
2027+
((WinPos.flags & SWP_NOZORDER) && (WinPos.flags & SWP_NOOWNERZORDER)))
20272028
{
20282029
/* Determine the new visible region */
20292030
VisAfter = VIS_ComputeVisibleRegion(Window, FALSE, FALSE,

0 commit comments

Comments
 (0)