]> git.eshelyaron.com Git - emacs.git/commit
Fix tab-bar resizing under 'auto-resize-tab-bars' = 'grow-only'
authorEli Zaretskii <eliz@gnu.org>
Sun, 17 Jul 2022 09:33:34 +0000 (12:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 17 Jul 2022 09:33:34 +0000 (12:33 +0300)
commit5db4ec20fe4b428e15aa53208c9a9bfb037c0f30
tree5f6a859b570da8cba00f43600df1325350cbd396
parent407ee71c067de943ec3d0abee54755f59baf47cd
Fix tab-bar resizing under 'auto-resize-tab-bars' = 'grow-only'

* src/xdisp.c (redisplay_tab_bar): Compute the desired height of
the tab-bar before iterating over the tab-bar string, to detect
the required resizing earlier.  Default 'change_p' to 'false'.

* lisp/tab-bar.el (tab-bar--update-tab-bar-lines): Support
'auto-resize-tab-bars' set to 'grow-only'.
lisp/tab-bar.el
src/xdisp.c