From a44a3195ab9dd2c1f45c5e33cf46e19f6e5ce406 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 25 Oct 2021 12:37:29 +0530 Subject: [PATCH] Ensure border rects are updated when patching colors --- kitty/boss.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kitty/boss.py b/kitty/boss.py index 8a24311c3..ade063589 100755 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1702,6 +1702,9 @@ class Boss: tm.tab_bar.patch_colors(spec) tm.tab_bar.layout() tm.mark_tab_bar_dirty() + t = tm.active_tab + if t is not None: + t.relayout_borders() patch_global_colors(spec, configured) def apply_new_options(self, opts: Options) -> None: