mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Make full-screen popup windows managed.
This commit is contained in:
parent
6088c11f96
commit
d18c8ca78f
1 changed files with 7 additions and 2 deletions
|
@ -129,8 +129,13 @@ inline static BOOL is_window_managed( WND *win )
|
|||
if (win->dwStyle & WS_THICKFRAME) return TRUE;
|
||||
/* application windows are managed */
|
||||
if (win->dwExStyle & WS_EX_APPWINDOW) return TRUE;
|
||||
/* popup windows that aren't owned are managed */
|
||||
if ((win->dwStyle & WS_POPUP) && !win->owner) return TRUE;
|
||||
/* full-screen popup windows are managed */
|
||||
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 */
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue