diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 31437655cec..2bf41a6f061 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1194,7 +1194,7 @@ static void sync_window_position( Display *display, struct x11drv_win_data *data mask |= CWX | CWY; } - if (!(swp_flags & SWP_NOZORDER)) + if (!(swp_flags & SWP_NOZORDER) || (swp_flags & SWP_SHOWWINDOW)) { /* find window that this one must be after */ HWND prev = GetWindow( data->hwnd, GW_HWNDPREV );