Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2020-03-30 10:01:27 +01:00
commit ecde339f59

View File

@ -346,9 +346,8 @@ popup_job_complete_cb(struct job *job)
pd->status = 0; pd->status = 0;
pd->job = NULL; pd->job = NULL;
if (pd->flags & POPUP_CLOSEEXIT) if ((pd->flags & POPUP_CLOSEEXIT) ||
server_client_clear_overlay(pd->c); ((pd->flags & POPUP_CLOSEEXITZERO) && pd->status == 0))
if ((pd->flags & POPUP_CLOSEEXITZERO) && pd->status == 0)
server_client_clear_overlay(pd->c); server_client_clear_overlay(pd->c);
} }