Commit d0b21abe authored by Peter Dons Tychsen's avatar Peter Dons Tychsen Committed by Alexandre Julliard

x11drv: Fix the special case where windows have WS_CHILD and WS_POPUP.

parent 67637420
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment