Fix crash with popups when fullscreen is non-leaf
Introduced in b3e69ed12
Fixes #3582
This commit is contained in:
parent
00bb9a8483
commit
0abb4f7e88
|
@ -214,7 +214,7 @@ static void render_root(Con *con, Con *fullscreen) {
|
||||||
* fullscreen work correctly (ticket #564). Exception to the
|
* fullscreen work correctly (ticket #564). Exception to the
|
||||||
* above rule: smart popup_during_fullscreen handling (popups
|
* above rule: smart popup_during_fullscreen handling (popups
|
||||||
* belonging to the fullscreen app will be rendered). */
|
* 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue