Commit abcbcc35 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

winex11.drv: Popup windows with system menu are managed.

parent b3c0a290
......@@ -86,10 +86,13 @@ inline static BOOL is_window_managed( HWND hwnd )
if (style & WS_THICKFRAME) return TRUE;
/* application windows are managed */
if (ex_style & WS_EX_APPWINDOW) return TRUE;
/* full-screen popup windows are managed */
if (style & WS_POPUP)
{
RECT rect;
/* popup with sysmenu == caption are managed */
if (style & WS_SYSMENU) return TRUE;
/* full-screen popup windows are managed */
GetWindowRect( hwnd, &rect );
if ((rect.right - rect.left) == screen_width && (rect.bottom - rect.top) == screen_height)
return TRUE;
......
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