x11drv: Fix the special case where windows have WS_CHILD and WS_POPUP.
This commit is contained in:
parent
6763742090
commit
d0b21abe81
|
@ -76,7 +76,7 @@ static inline BOOL is_window_managed( HWND hwnd )
|
||||||
if (ex_style & WS_EX_TRAYWINDOW) return TRUE;
|
if (ex_style & WS_EX_TRAYWINDOW) return TRUE;
|
||||||
/* child windows are not managed */
|
/* child windows are not managed */
|
||||||
style = GetWindowLongW( hwnd, GWL_STYLE );
|
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 */
|
/* windows with caption are managed */
|
||||||
if ((style & WS_CAPTION) == WS_CAPTION) return TRUE;
|
if ((style & WS_CAPTION) == WS_CAPTION) return TRUE;
|
||||||
/* tool windows are not managed */
|
/* tool windows are not managed */
|
||||||
|
|
Loading…
Reference in New Issue