From 4f768c6eda947bc04b21f4b8fe12ee86c712456b Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Fri, 11 Jan 2019 14:44:39 +0200 Subject: [PATCH] Fix crash with popups when fullscreen is non-leaf Introduced in b3e69ed12 Fixes #3582 --- src/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5