Commit 0f31a34b authored by Huw D M Davies's avatar Huw D M Davies Committed by Alexandre Julliard

Don't check hwndInsertAfter if SWP_NOZORDER is set.

parent 64896d03
...@@ -730,6 +730,7 @@ static BOOL fixup_flags( WINDOWPOS *winpos ) ...@@ -730,6 +730,7 @@ static BOOL fixup_flags( WINDOWPOS *winpos )
} }
/* Check hwndInsertAfter */ /* Check hwndInsertAfter */
if (winpos->flags & SWP_NOZORDER) goto done;
/* fix sign extension */ /* fix sign extension */
if (winpos->hwndInsertAfter == (HWND)0xffff) winpos->hwndInsertAfter = HWND_TOPMOST; if (winpos->hwndInsertAfter == (HWND)0xffff) winpos->hwndInsertAfter = HWND_TOPMOST;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment