From ad53a5bdff18269e2dda854460e5fcaf90957034 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 17 Mar 2026 08:40:56 +0530 Subject: [PATCH] Cleanup previous PR --- docs/changelog.rst | 5 +++++ kitty/boss.py | 1 + 2 files changed, 6 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index dae147cf9..6a64b40a0 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -165,6 +165,11 @@ consumption to do the same tasks. Detailed list of changes ------------------------------------- +0.50.0 [future] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Watchers: Add an `on_quit` event to global watchers (:iss:`9675`) + 0.46.1 [2026-03-16] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/boss.py b/kitty/boss.py index 0a1e143c3..0d8034baf 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -2098,6 +2098,7 @@ class Boss: break if w is None: return True + data['aborted'] = False for watcher in global_watchers().on_quit: try: watcher(self, w, data)