Winpos fix

Aric Stewart aric at codeweavers.com
Sun Apr 18 20:09:15 CDT 2004


Do not map minimized windows even if their visibility changes.

aric
-------------- next part --------------
Index: dlls/x11drv/winpos.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/winpos.c,v
retrieving revision 1.82
diff -u -w -r1.82 winpos.c
--- dlls/x11drv/winpos.c	8 Apr 2004 19:47:01 -0000	1.82
+++ dlls/x11drv/winpos.c	19 Apr 2004 01:07:51 -0000
@@ -866,7 +866,8 @@
     {
         if (!IsRectEmpty( &wndPtr->rectWindow ))
         {
-            if (wndPtr->dwStyle & WS_VISIBLE)
+            if (wndPtr->dwStyle & WS_VISIBLE && 
+                !(wndPtr->dwStyle & WS_MINIMIZE ))
             {
                 TRACE( "mapping win %p\n", hwnd );
                 if (is_window_top_level(wndPtr))


More information about the wine-patches mailing list