mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-27 06:48:00 +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)))))
|
(car-safe (window-prev-buffers window)))))
|
||||||
(and
|
(and
|
||||||
prev-buffer
|
prev-buffer
|
||||||
|
(buffer-live-p prev-buffer)
|
||||||
(with-current-buffer prev-buffer
|
(with-current-buffer prev-buffer
|
||||||
(derived-mode-p 'exwm-mode))
|
(derived-mode-p 'exwm-mode))
|
||||||
(push prev-buffer covered-buffers)))))))))
|
(push prev-buffer covered-buffers)))))))))
|
||||||
|
|
Loading…
Reference in a new issue