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

Alexandre Julliard julliard at winehq.org
Fri Aug 29 07:30:42 CDT 2008


Module: wine
Branch: master
Commit: ac40efa91141d87abe1aaa02526b79cc65efcef6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ac40efa91141d87abe1aaa02526b79cc65efcef6

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Aug 29 13:34:55 2008 +0200

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

---

 dlls/winex11.drv/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 3143765..2bf41a6 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 );




More information about the wine-cvs mailing list