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

This commit is contained in:
Alexandre Julliard 2008-08-29 13:34:55 +02:00
parent 90ef43ab26
commit ac40efa911
1 changed files with 1 additions and 1 deletions

View File

@ -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 );