branch: externals/exwm
commit db6d26c662a750b273e1bbc06902a2a46e101e4c
Author: Chris Feng <[email protected]>
Commit: Chris Feng <[email protected]>
Refresh the workspace after creating a floating X window
* exwm-floating.el (exwm-floating--set-floating): Refresh the workspace
(since auto-refresh was disabled).
---
exwm-floating.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/exwm-floating.el b/exwm-floating.el
index b562019..4577053 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.