mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/doom: add solaire-mode-reset to focus-in-hook
Addresses an edge case where the fringes would forget their color.
This commit is contained in:
@ -26,6 +26,8 @@
|
|||||||
:hook (after-change-major-mode . turn-on-solaire-mode)
|
:hook (after-change-major-mode . turn-on-solaire-mode)
|
||||||
:config
|
:config
|
||||||
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
||||||
|
;; fringe can become unstyled when deleting or focusing frames
|
||||||
|
(add-hook 'focus-in-hook #'solaire-mode-reset)
|
||||||
;; Prevent color glitches when reloading either DOOM or the theme
|
;; Prevent color glitches when reloading either DOOM or the theme
|
||||||
(add-hook! '(doom-init-theme-hook doom-reload-hook)
|
(add-hook! '(doom-init-theme-hook doom-reload-hook)
|
||||||
#'solaire-mode-reset)
|
#'solaire-mode-reset)
|
||||||
|
Reference in New Issue
Block a user