mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 15:43:38 +00:00
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;
|
||||
/* 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 */
|
||||
|
|
Loading…
Reference in a new issue