]> git.sur5r.net Git - i3/i3/blobdiff - src/render.c
Fix crash with popups when fullscreen is non-leaf
[i3/i3] / 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). */
                  * 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;
                 }
 
                     continue;
                 }