From 5d0e038afc2aba89d788b4218bb72f759effd6e0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 28 Mar 2026 14:40:45 +0530 Subject: [PATCH] Cleanup previous PR --- kitty/tabs.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index a19558ba7..4aeef9546 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -1242,10 +1242,8 @@ def refresh_sprite_positions(self) -> None: @property def tab_bar_should_be_visible(self) -> bool: - if self.tab_being_dropped is not None: + if self.tab_being_dropped is not None or self.window_drag_over_me: return True # keep tab bar visible in the dest - if self.window_drag_over_me: - return True # keep tab bar visible when a window is being dragged over this OS window count = get_options().tab_bar_min_tabs if count < 1: return True