Commit d18c8ca7 authored by Alex Pasadyn's avatar Alex Pasadyn Committed by Alexandre Julliard

Make full-screen popup windows managed.

parent 6088c11f
...@@ -129,8 +129,13 @@ inline static BOOL is_window_managed( WND *win ) ...@@ -129,8 +129,13 @@ inline static BOOL is_window_managed( WND *win )
if (win->dwStyle & WS_THICKFRAME) return TRUE; if (win->dwStyle & WS_THICKFRAME) return TRUE;
/* application windows are managed */ /* application windows are managed */
if (win->dwExStyle & WS_EX_APPWINDOW) return TRUE; if (win->dwExStyle & WS_EX_APPWINDOW) return TRUE;
/* popup windows that aren't owned are managed */ /* full-screen popup windows are managed */
if ((win->dwStyle & WS_POPUP) && !win->owner) return TRUE; if ((win->dwStyle & WS_POPUP) &&
(win->rectWindow.right-win->rectWindow.left) == screen_width &&
(win->rectWindow.bottom-win->rectWindow.top) == screen_height)
{
return TRUE;
}
/* default: not managed */ /* default: not managed */
return FALSE; return FALSE;
} }
......
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