From 57bfa9e2e595bba94a4746b15043c3dac544fd26 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 23 Jul 2025 09:37:54 +0530 Subject: [PATCH] ... --- kitty/tabs.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index c605d01fd..fbd3aa04d 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -1010,9 +1010,8 @@ class TabManager: # {{{ boss = get_boss() w = self.active_window data = {'tab_manager': self} - for g in global_watchers(): - for watcher in g.on_tab_bar_dirty: - watcher(boss, w, data) + for watcher in global_watchers().on_tab_bar_dirty: + watcher(boss, w, data) def update_tab_bar_data(self) -> None: self.tab_bar.update(self.tab_bar_data)