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-Tag: 4.16.1~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f768c6eda947bc04b21f4b8fe12ee86c712456b;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 d8bffc61..3150fb58 100644 --- a/src/render.c +++ b/src/render.c @@ -243,7 +243,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; }