about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--exwm-floating.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/exwm-floating.el b/exwm-floating.el
index b56201914e60..457705322ccd 100644
--- a/exwm-floating.el
+++ b/exwm-floating.el
@@ -209,6 +209,8 @@
       (add-hook 'window-configuration-change-hook #'exwm-layout--refresh)
       (set-window-dedicated-p window t)
       (exwm-layout--show id window))
+    (with-selected-frame exwm-workspace--current
+      (exwm-layout--refresh))
     (select-frame-set-input-focus frame))
   (run-hooks 'exwm-floating-setup-hook)
   ;; Redraw the frame.