mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
window: Treat being headless as not monitor sized
When we are headless, treat this as if the window is always not monitor sized. This might cause windows to temporarly become redirected while being headless, but this is harmless as when a new monitor is connected, we'll recalculate weather it should be redirected or not. https://bugzilla.gnome.org/show_bug.cgi?id=787637
This commit is contained in:
parent
20749e5dbd
commit
39aae19ed7
@ -2904,6 +2904,9 @@ meta_window_is_screen_sized (MetaWindow *window)
|
||||
gboolean
|
||||
meta_window_is_monitor_sized (MetaWindow *window)
|
||||
{
|
||||
if (!window->monitor)
|
||||
return FALSE;
|
||||
|
||||
if (window->fullscreen)
|
||||
return TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user