From ac40efa91141d87abe1aaa02526b79cc65efcef6 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 29 Aug 2008 13:34:55 +0200 Subject: [PATCH] winex11: Always set the z-order when a window is being made visible. --- dlls/winex11.drv/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );