]> git.sur5r.net Git - i3/i3/commitdiff
Fix crash with popups when fullscreen is non-leaf
authorOrestis Floros <orestisf1993@gmail.com>
Fri, 11 Jan 2019 12:44:39 +0000 (14:44 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 23 Jan 2019 20:21:34 +0000 (21:21 +0100)
Introduced in b3e69ed12

Fixes #3582

src/render.c

index d8bffc61f2b1a1232a16e10c248ac752db9d299e..3150fb58fd5cdfae3fad3c249a5f7e632c0e0493 100644 (file)
@@ -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;
                 }