about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-08-16T12·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-08-16T12·00+0000
commit5c1aa4dc310444c1a73c273b581f9e5868cb9a6d (patch)
treef46d8e388981cd948122f152611388aea2fa29b5
parent4d43e3119a2d0cb002d87340cd11c1d372ad126e (diff)
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.
-rw-r--r--exwm-layout.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-layout.el b/exwm-layout.el
index 9427607712d7..a03b6fb68593 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -293,7 +293,7 @@ selected by `other-buffer'."
                      (or exwm-layout-show-all-buffers
                          ;; Exclude X windows on other workspaces
                          (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)
                 (when (eq frame exwm--frame)
                   (exwm-layout--hide exwm--id))