Add pixel precision to plainmacs.

This commit is contained in:
Tom Alexander 2023-09-14 14:33:38 -04:00
parent 35709eb06a
commit 971ed7e75d
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 25 additions and 19 deletions

View File

@ -20,7 +20,10 @@ INIT_SCRIPT=$(cat <<EOF
(when (fboundp 'tool-bar-mode) (when (fboundp 'tool-bar-mode)
(tool-bar-mode -1)) (tool-bar-mode -1))
(when ( fboundp 'scroll-bar-mode) (when ( fboundp 'scroll-bar-mode)
(scroll-bar-mode -1))) (scroll-bar-mode -1))
(pixel-scroll-precision-mode)
(setq frame-resize-pixelwise t)
)
EOF EOF
) )

View File

@ -16,4 +16,7 @@
(when (fboundp 'tool-bar-mode) (when (fboundp 'tool-bar-mode)
(tool-bar-mode -1)) (tool-bar-mode -1))
(when ( fboundp 'scroll-bar-mode) (when ( fboundp 'scroll-bar-mode)
(scroll-bar-mode -1))) (scroll-bar-mode -1))
(pixel-scroll-precision-mode)
(setq frame-resize-pixelwise t)
)