winex11: Don't force tool windows to unmanaged mode.
The detection algorithm should be good enough for that case now.
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 3658c71..0f84ae2 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -101,13 +101,8 @@
if (hwnd == GetActiveWindow()) return TRUE;
/* windows with caption are managed */
if ((style & WS_CAPTION) == WS_CAPTION) return TRUE;
- /* tool windows are not managed */
- ex_style = GetWindowLongW( hwnd, GWL_EXSTYLE );
- if (ex_style & WS_EX_TOOLWINDOW) return FALSE;
/* windows with thick frame are managed */
if (style & WS_THICKFRAME) return TRUE;
- /* application windows are managed */
- if (ex_style & WS_EX_APPWINDOW) return TRUE;
if (style & WS_POPUP)
{
/* popup with sysmenu == caption are managed */
@@ -117,6 +112,9 @@
window_rect->top <= 0 && window_rect->bottom >= screen_height)
return TRUE;
}
+ /* application windows are managed */
+ ex_style = GetWindowLongW( hwnd, GWL_EXSTYLE );
+ if (ex_style & WS_EX_APPWINDOW) return TRUE;
/* default: not managed */
return FALSE;
}