Commit ac40efa9 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Always set the z-order when a window is being made visible.

parent 90ef43ab
...@@ -1194,7 +1194,7 @@ static void sync_window_position( Display *display, struct x11drv_win_data *data ...@@ -1194,7 +1194,7 @@ static void sync_window_position( Display *display, struct x11drv_win_data *data
mask |= CWX | CWY; 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 */ /* find window that this one must be after */
HWND prev = GetWindow( data->hwnd, GW_HWNDPREV ); HWND prev = GetWindow( data->hwnd, GW_HWNDPREV );
......
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