mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 13:07:59 +01:00
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:
parent
14e78817f9
commit
369b4171e8
1 changed files with 1 additions and 0 deletions
|
@ -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)))))))))
|
||||
|
|
Loading…
Reference in a new issue