diff --git a/src/core/window.c b/src/core/window.c index 9a8a84a26..7f208c3a2 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -2848,7 +2848,7 @@ meta_window_maximize_internal (MetaWindow *window, meta_window_recalc_features (window); set_net_wm_state (window); - if (window->monitor->in_fullscreen) + if (window->monitor && window->monitor->in_fullscreen) meta_display_queue_check_fullscreen (window->display); g_object_freeze_notify (G_OBJECT (window));