aboutsummaryrefslogtreecommitdiffstats
path: root/exec
diff options
context:
space:
mode:
authorJuri Linkov2025-06-27 20:41:05 +0300
committerJuri Linkov2025-06-27 20:41:05 +0300
commitcd8319677d8869d60fefca6d88cf994726058e9e (patch)
treefeb5a2a1723d989904a0a01b9d8d7ae357ed16e3 /exec
parente25ee1082f74c65b81ba4a184cfc29b26c2bf3b9 (diff)
downloademacs-cd8319677d8869d60fefca6d88cf994726058e9e.tar.gz
emacs-cd8319677d8869d60fefca6d88cf994726058e9e.zip
* lisp/tab-bar.el: Ignore daemon's initial frame (bug#78896).
(tab-bar--update-tab-bar-lines): Don't set the frame parameter 'tab-bar-lines' in daemon's initial frame because it messes up the frames when 'format-mode-line' called from 'tab-bar-format-global' on daemon's initial frame forces focus switch to daemon's initial frame. Also don't set 'default-frame-alist' in daemon mode because 'frame-notice-user-settings' copies the frame parameter 'tab-bar-lines' from 'default-frame-alist' to daemon's initial frame. Here updating 'default-frame-alist' is not much needed anyway since the frame parameter 'tab-bar-lines' for new frames is set in 'make_terminal_frame' and 'x-create-frame'. 'default-frame-alist' might be need only to handle non-default 'tab-bar-show', but this can be handled by 'toggle-frame-tab-bar' called from 'server-after-make-frame-hook'. (toggle-frame-tab-bar): Document a useful case of calling it from 'server-after-make-frame-hook'.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions