Don't trigger redraw on every frame switch
This commit is contained in:
parent
2d1a2ed8b3
commit
096803e2fe
1 changed files with 4 additions and 2 deletions
|
@ -30,8 +30,10 @@
|
|||
(add-hook! 'doom-switch-frame-hook
|
||||
(defun +doom-disable-solaire-mode-maybe-h ()
|
||||
(if (display-graphic-p)
|
||||
(solaire-global-mode +1)
|
||||
(solaire-global-mode -1)))))
|
||||
(unless solaire-global-mode
|
||||
(solaire-global-mode +1))
|
||||
(when solaire-global-mode
|
||||
(solaire-global-mode -1))))))
|
||||
|
||||
(add-hook! 'solaire-global-mode-hook
|
||||
(defun +doom-solaire-swap-bg-faces-maybe-h ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue