diff --git a/apps/compositor.c b/apps/compositor.c index 0c34b7f2..94c79187 100644 --- a/apps/compositor.c +++ b/apps/compositor.c @@ -327,7 +327,7 @@ static void set_focused_window(yutani_globals_t * yg, yutani_server_window_t * w return; /* Already focused */ } - if (w->minimized) { + if (w && w->minimized) { window_unminimize(yg,w); }