mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 21:17:59 +01:00
Consider windows of the frame being refreshed, not the selected one at the time exwm-layout--refresh runs
* exwm-layout.el (exwm-layout--refresh): Consider windows of the frame being refreshed instead of the selected frame.
This commit is contained in:
parent
4d43e3119a
commit
5c1aa4dc31
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ selected by `other-buffer'."
|
||||||
(or exwm-layout-show-all-buffers
|
(or exwm-layout-show-all-buffers
|
||||||
;; Exclude X windows on other workspaces
|
;; Exclude X windows on other workspaces
|
||||||
(eq frame exwm--frame)))
|
(eq frame exwm--frame)))
|
||||||
(setq windows (get-buffer-window-list (current-buffer) 0))
|
(setq windows (get-buffer-window-list (current-buffer) 0 frame))
|
||||||
(if (not windows)
|
(if (not windows)
|
||||||
(when (eq frame exwm--frame)
|
(when (eq frame exwm--frame)
|
||||||
(exwm-layout--hide exwm--id))
|
(exwm-layout--hide exwm--id))
|
||||||
|
|
Loading…
Reference in a new issue