diff --git a/src/core/window.c b/src/core/window.c index d450a5ce0..d3c0fa5b5 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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;