diff --git a/WINGs/wwindow.c b/WINGs/wwindow.c index 9e3bddb..9b816a6 100644 --- a/WINGs/wwindow.c +++ b/WINGs/wwindow.c @@ -417,6 +417,9 @@ static void realizeWindow(WMWindow * win) Atom atoms[4]; int count; + if (!scr->display) + return; + classHint = XAllocClassHint(); classHint->res_name = win->wname; classHint->res_class = WMGetApplicationName();