From 51900996ea2f0042c5f11f134a8f5a207ed1aa17 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 31 Oct 2021 11:05:00 +0530 Subject: [PATCH] When selecting in stack dont exclude the active window --- kitty/boss.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kitty/boss.py b/kitty/boss.py index 56fefdd9e..ce453821a 100755 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -915,8 +915,7 @@ class Boss: self.mouse_handler(ev) def select_window_in_tab_using_overlay(self, tab: Tab, msg: str) -> None: - aw = tab.active_window - windows = tuple((w.id, w.title) for i, w in tab.windows.iter_windows_with_number(only_visible=False) if w is not aw) + windows = tuple((w.id, w.title) for i, w in tab.windows.iter_windows_with_number(only_visible=False)) if len(windows) < 1: self.visual_window_select_action_trigger(windows[0][0] if windows else 0) if get_options().enable_audio_bell: