From d0b21abe81f9722defc4fc0cb7ca596f7815a220 Mon Sep 17 00:00:00 2001 From: Peter Dons Tychsen Date: Wed, 25 Jul 2007 04:09:50 +0200 Subject: [PATCH] x11drv: Fix the special case where windows have WS_CHILD and WS_POPUP. --- dlls/winex11.drv/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index be5d1143b5d..c5716847ae7 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -76,7 +76,7 @@ static inline BOOL is_window_managed( HWND hwnd ) if (ex_style & WS_EX_TRAYWINDOW) return TRUE; /* child windows are not managed */ style = GetWindowLongW( hwnd, GWL_STYLE ); - if (style & WS_CHILD) return FALSE; + if ((style & (WS_CHILD|WS_POPUP)) == WS_CHILD) return FALSE; /* windows with caption are managed */ if ((style & WS_CAPTION) == WS_CAPTION) return TRUE; /* tool windows are not managed */