about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--exwm.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/exwm.el b/exwm.el
index 6f6458da7cb1..7affebfff2ba 100644
--- a/exwm.el
+++ b/exwm.el
@@ -833,9 +833,9 @@ manager.  If t, replace it, if nil, abort and ask the user if `ask'."
         (exwm--unlock)
         (exwm-workspace--post-init)
         (exwm-input--post-init)
+        (run-hooks 'exwm-init-hook)
         ;; Manage existing windows
-        (exwm-manage--scan)
-        (run-hooks 'exwm-init-hook))
+        (exwm-manage--scan))
     ((quit error)
      (exwm-exit)
      ;; Rethrow error