about summary refs log tree commit diff
path: root/exwm-workspace.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r--exwm-workspace.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index deb6a653575a..a99971904c37 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -767,7 +767,9 @@ INDEX must not exceed the current number of workspaces."
               exwm--frame frame)
         (if (not exwm--floating-frame)
             ;; Tiling.
-            (progn
+            (if (get-buffer-window nil frame)
+                (when (eq frame exwm-workspace--current)
+                  (run-window-configuration-change-hook frame))
               (set-window-buffer (get-buffer-window nil t)
                                  (other-buffer nil t))
               (unless (eq frame exwm-workspace--current)