Don't set stacking order against unvisible windows

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Jun 28 18:25:04 CDT 2003


Changelog:
        dlls/x11drv/window.c: X11DRV_sync_whole_window_position
        Don't specify a stacking order agains unvisible windows

This let the Capital Einkommenssteuer 2003 (Infotax/Steuer02) Installer run
in Desktop mode. Otherwise X throws a bad match error.

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/x11drv/window.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/window.c,v
retrieving revision 1.54
diff -u -r1.54 window.c
--- wine/dlls/x11drv/window.c	20 Jun 2003 23:29:06 -0000	1.54
+++ wine/dlls/x11drv/window.c	28 Jun 2003 23:15:56 -0000
@@ -560,7 +560,7 @@
                 changes.stack_mode = Below;
                 mask |= CWStackMode;
             }
-            else
+            else if (GetWindowLongW( next, GWL_STYLE ) & WS_VISIBLE)
             {
                 changes.stack_mode = Above;
                 changes.sibling = X11DRV_get_whole_window(next);



More information about the wine-patches mailing list