From: Orestis Floros Date: Fri, 11 Jan 2019 12:44:39 +0000 (+0200) Subject: Fix crash with popups when fullscreen is non-leaf X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F3584%2Fhead;p=i3%2Fi3 Fix crash with popups when fullscreen is non-leaf Introduced in b3e69ed12 Fixes #3582 --- diff --git a/src/render.c b/src/render.c index e16e36d7..42992f3a 100644 --- a/src/render.c +++ b/src/render.c @@ -214,7 +214,7 @@ static void render_root(Con *con, Con *fullscreen) { * fullscreen work correctly (ticket #564). Exception to the * above rule: smart popup_during_fullscreen handling (popups * belonging to the fullscreen app will be rendered). */ - if (config.popup_during_fullscreen != PDF_SMART) { + if (config.popup_during_fullscreen != PDF_SMART || fullscreen->window == NULL) { continue; }