]> git.sur5r.net Git - i3/i3/commitdiff
Fix crash with popups when fullscreen is non-leaf 3584/head
authorOrestis Floros <orestisf1993@gmail.com>
Fri, 11 Jan 2019 12:44:39 +0000 (14:44 +0200)
committerOrestis Floros <orestisf1993@gmail.com>
Fri, 11 Jan 2019 12:46:13 +0000 (14:46 +0200)
Introduced in b3e69ed12

Fixes #3582

src/render.c

index e16e36d7251cab479acd84c778e46ee2d0060c6d..42992f3aab20d3b962b337c720140fd3970a87ae 100644 (file)
@@ -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;
                 }