Merge pull request #3584 from orestisf1993/popup-SIGSEGV

Fix crash with popups when fullscreen is non-leaf
This commit is contained in:
Ingo Bürk 2019-01-11 14:01:56 +01:00 committed by GitHub
commit e2e964151e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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;
}