Fix imperative close request being ignored in absence of any other activity

This commit is contained in:
Kovid Goyal 2020-06-26 16:37:17 +05:30
parent 75caafb5ac
commit fd3a4536e7
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -364,6 +364,7 @@ static void
application_close_requested_callback(int flags) {
if (flags) {
global_state.quit_request = IMPERATIVE_CLOSE_REQUESTED;
global_state.has_pending_closes = true;
request_tick_callback();
} else {
if (global_state.quit_request == NO_CLOSE_REQUESTED) {