winex11.drv: Popup windows with system menu are managed.
This commit is contained in:
parent
b3c0a29061
commit
abcbcc35da
|
@ -86,10 +86,13 @@ inline static BOOL is_window_managed( HWND hwnd )
|
||||||
if (style & WS_THICKFRAME) return TRUE;
|
if (style & WS_THICKFRAME) return TRUE;
|
||||||
/* application windows are managed */
|
/* application windows are managed */
|
||||||
if (ex_style & WS_EX_APPWINDOW) return TRUE;
|
if (ex_style & WS_EX_APPWINDOW) return TRUE;
|
||||||
/* full-screen popup windows are managed */
|
|
||||||
if (style & WS_POPUP)
|
if (style & WS_POPUP)
|
||||||
{
|
{
|
||||||
RECT rect;
|
RECT rect;
|
||||||
|
|
||||||
|
/* popup with sysmenu == caption are managed */
|
||||||
|
if (style & WS_SYSMENU) return TRUE;
|
||||||
|
/* full-screen popup windows are managed */
|
||||||
GetWindowRect( hwnd, &rect );
|
GetWindowRect( hwnd, &rect );
|
||||||
if ((rect.right - rect.left) == screen_width && (rect.bottom - rect.top) == screen_height)
|
if ((rect.right - rect.left) == screen_width && (rect.bottom - rect.top) == screen_height)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue