]> git.eshelyaron.com Git - emacs.git/commit
Improve scaling of tab bar items on high-density displays
authorPo Lu <luangruo@yahoo.com>
Sat, 8 Jun 2024 07:17:23 +0000 (15:17 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 8 Jun 2024 13:01:02 +0000 (15:01 +0200)
commitb96696872423611c52dc0e9d1f5a8056b4416b66
tree7a4c8940cafc22609baf597cd1519a3102308956
parent922ef5af3a7a324520c5a0f98f375f2590f2b8e9
Improve scaling of tab bar items on high-density displays

* lisp/tab-bar.el (tab-bar-auto-width-max)
(tab-bar-auto-width-min): Accept values of a new format where
the pixel width is a list and is subject to scaling.
(tab-bar-auto-width-1): New function.
(tab-bar-auto-width): Scale pixel values from t-b-a-w-min and
t-b-a-w-max.

(cherry picked from commit ed122417b98d711bacf5ed24778886bf21d86956)
lisp/tab-bar.el