mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Fix imperative close request being ignored in absence of any other activity
This commit is contained in:
parent
75caafb5ac
commit
fd3a4536e7
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue