Avoid sometimes selecting killed buffers (#87)

* exwm-layout.el (exwm-layout--refresh-workspace): avoid selecting deleted buffers.

Copyright-paperwork-exempt: yes
This commit is contained in:
Garklein 2024-11-18 04:04:16 -05:00 committed by GitHub
parent 14e78817f9
commit 369b4171e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -385,6 +385,7 @@ If FRAME is nil, refresh layout of selected frame."
(car-safe (window-prev-buffers window)))))
(and
prev-buffer
(buffer-live-p prev-buffer)
(with-current-buffer prev-buffer
(derived-mode-p 'exwm-mode))
(push prev-buffer covered-buffers)))))))))