From c9230173c1204d0431f80281eaf0e530317f52cf Mon Sep 17 00:00:00 2001 From: JenChieh Date: Tue, 2 Jul 2024 00:47:15 -0700 Subject: [PATCH] fix: Refresh only on frame --- centaur-tabs-functions.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/centaur-tabs-functions.el b/centaur-tabs-functions.el index 5d3ef7d..41ddac0 100644 --- a/centaur-tabs-functions.el +++ b/centaur-tabs-functions.el @@ -540,7 +540,8 @@ current cached copy." (defun centaur-tabs-after-focus (&rest _) "Focus hook." - (when (frame-focus-state) + (when (and (frame-focus-state) + (null (frame-parent))) ; only the root frame (centaur-tabs-buffer-update-groups) (centaur-tabs-display-update)))