about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--exwm-layout.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/exwm-layout.el b/exwm-layout.el
index 56668186ef..d785a71f5e 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -408,8 +408,8 @@ selected by `other-buffer'."
          (frame (window-frame mini-window)))
     (when (exwm-workspace--workspace-p frame)
       (exwm--defer 0 (lambda ()
-                       (when (< 1 (window-height mini-window)))
-                       (exwm-layout--refresh frame))))))
+                       (when (< 1 (window-height mini-window))
+                         (exwm-layout--refresh frame)))))))
 
 (defun exwm-layout--on-echo-area-change (&optional dirty)
   "Run when message arrives or in `echo-area-clear-hook' to refresh layout."