Small fix

Sergey Mudry upx at pisem.net
Sun Oct 3 15:17:16 CDT 2004


Hi!
Here is a small patch for wine-20040914.
Summary: tool window with a caption are not managed.

=== Cut ===
diff -urN wine.orig/dlls/x11drv/window.c wine/dlls/x11drv/window.c
--- wine.orig/dlls/x11drv/window.c	2004-10-03 23:11:04.850521032 +0300
+++ wine/dlls/x11drv/window.c	2004-10-03 18:15:02.000000000 +0300
@@ -120,10 +120,10 @@
     if (win->dwExStyle & WS_EX_TRAYWINDOW) return TRUE;
     /* child windows are not managed */
     if (win->dwStyle & WS_CHILD) return FALSE;
-    /* windows with caption are managed */
-    if ((win->dwStyle & WS_CAPTION) == WS_CAPTION) return TRUE;
     /* tool windows are not managed  */
     if (win->dwExStyle & WS_EX_TOOLWINDOW) return FALSE;
+    /* windows with caption are managed */
+    if ((win->dwStyle & WS_CAPTION) == WS_CAPTION) return TRUE;
     /* windows with thick frame are managed */
     if (win->dwStyle & WS_THICKFRAME) return TRUE;
     /* application windows are managed */
=== Cut ===

-- 
With best regards, Serg.



More information about the wine-patches mailing list