When a window is managed, a button will be placed on the taskbar and
other things.
ChangeLog:
* dlls/x11drv/window.c
- Fix managed state of some windows
Index: dlls/x11drv/window.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/window.c,v
retrieving revision 1.57
diff -u -r1.57 window.c
--- dlls/x11drv/window.c 5 Sep 2003 23:08:26 -0000 1.57
+++ dlls/x11drv/window.c 20 Sep 2003 10:40:17 -0000
@@ -89,6 +89,10 @@
/* windows with caption or thick frame are managed */
if ((win->dwStyle & WS_CAPTION) == WS_CAPTION) return TRUE;
if (win->dwStyle & WS_THICKFRAME) return TRUE;
+ /* application windows are managed */
+ if (win->dwExStyle & WS_EX_APPWINDOW) return TRUE;
+ /* popup windows that aren't owned are managed */
+ if ((win->dwStyle &WS_POPUP) && NULL == win->owner) return TRUE;
/* default: not managed */
return FALSE;
}