mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 21:17:59 +01:00
Exclude irrelevant X windows when refreshing
* exwm-layout.el (exwm-layout--refresh): Only check X windows on the workspace being examined.
This commit is contained in:
parent
aebcb0344f
commit
e6527227b3
1 changed files with 2 additions and 1 deletions
|
@ -295,7 +295,8 @@ selected by `other-buffer'."
|
|||
(eq frame exwm--frame)))
|
||||
(setq windows (get-buffer-window-list (current-buffer) 0))
|
||||
(if (not windows)
|
||||
(exwm-layout--hide exwm--id)
|
||||
(when (eq frame exwm--frame)
|
||||
(exwm-layout--hide exwm--id))
|
||||
(let ((window (car windows)))
|
||||
(if (eq frame exwm--frame)
|
||||
(when (exwm-workspace--active-p frame)
|
||||
|
|
Loading…
Reference in a new issue