about summary refs log tree commit diff
path: root/exwm-floating.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-02-24T13·27+0800
committerChris Feng <chris.w.feng@gmail.com>2016-02-24T13·27+0800
commitdb6d26c662a750b273e1bbc06902a2a46e101e4c (patch)
treedf1c7a910a38eae06ff3fcfdd64c4ee51fda6918 /exwm-floating.el
parent84bdc1378a7ebe4537c0cd1cf7cd054cd4e28b78 (diff)
Refresh the workspace after creating a floating X window
* exwm-floating.el (exwm-floating--set-floating): Refresh the workspace
(since auto-refresh was disabled).
Diffstat (limited to 'exwm-floating.el')
-rw-r--r--exwm-floating.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/exwm-floating.el b/exwm-floating.el
index b56201914e..457705322c 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.