[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm e652722 1/2: Exclude irrelevant X windows when ref
From: |
Chris Feng |
Subject: |
[elpa] externals/exwm e652722 1/2: Exclude irrelevant X windows when refreshing |
Date: |
Sun, 12 Aug 2018 08:05:44 -0400 (EDT) |
branch: externals/exwm
commit e6527227b387d08146963613ada37022ddf33d80
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>
Exclude irrelevant X windows when refreshing
* exwm-layout.el (exwm-layout--refresh): Only check X windows on the
workspace being examined.
---
exwm-layout.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/exwm-layout.el b/exwm-layout.el
index 8c86bbd..9427607 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -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)