Skip to content

Commit

Permalink
fix: Refresh only on frame
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jul 2, 2024
1 parent 062e50f commit c923017
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion centaur-tabs-functions.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit c923017

Please sign in to comment.