about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2019-12-08T00·00+0000
committerChris Feng <chris.w.feng@gmail.com>2019-12-08T00·00+0000
commit8b05c2a30d112e5deaf1196fccfcc2d1eb273756 (patch)
tree321be20606a52291a46ba72c9d3eaf8ab76ae92e
parent6a3e9b2c64d644ed468684a2a867c535e50ef66a (diff)
Eliminate a compile warning
* exwm-workspace.el (exwm-workspace-move-window): Replace the
obsolete `run-window-configuration-change-hook'.
-rw-r--r--exwm-workspace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index 705da308f225..8d11126b513c 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -872,7 +872,7 @@ INDEX must not exceed the current number of workspaces."
             ;; Tiling.
             (if (get-buffer-window nil frame)
                 (when (eq frame exwm-workspace--current)
-                  (run-window-configuration-change-hook frame))
+                  (exwm-layout--refresh frame))
               (set-window-buffer (get-buffer-window nil t)
                                  (other-buffer nil t))
               (unless (eq frame exwm-workspace--current)