Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimmed windows do not get updated when theme changes #72

Open
julian-hoch opened this issue Nov 6, 2024 · 0 comments
Open

Dimmed windows do not get updated when theme changes #72

julian-hoch opened this issue Nov 6, 2024 · 0 comments

Comments

@julian-hoch
Copy link

I am observing an issue that only the active (undimmed) window is changed when I change themes. Only when I activate a window, does the theme of that window apply.

I use this as a workaround:

(defun my-dimmer-redraw (&rest _)
(mapc
   (lambda (window)
     (let ((buffer (window-buffer window)))
       (dimmer-restore-buffer buffer)))
   (window-list))) 
(add-hook 'enable-theme-functions #'my-dimmer-redraw) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant