Fix lag when opening new frames

This commit is contained in:
outfoxxed 2023-06-30 08:58:30 -07:00
parent e79a0f867d
commit 9a0b8c6d04
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 25 additions and 10 deletions

View file

@ -10,8 +10,12 @@
`(:background ,(nth type (plist-get args :bg)))))
(if (plist-member args :italic) '(:slant italic))))))
`(,face
,`(,(funcall build-face '((min-colors 256)) 0 args)
,(funcall build-face '((min-colors 8)) 1 args))))))
,`(
,(funcall build-face '((min-colors 0)) 0 args)
;;,(funcall build-face '((min-colors 256)) 0 args)
;;,(funcall build-face '((min-colors 8)) 1 args)
)
))))
(color-join (lambda (list)
(format "#%02x%02x%02x"
(ash (nth 0 list) -8)