From 0abb4f7e88542bcdd47094450eeec22bdbf266d6 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 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; }