From db6d26c662a750b273e1bbc06902a2a46e101e4c Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Wed, 24 Feb 2016 21:27:23 +0800 Subject: [PATCH] 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 file changed, 2 insertions(+) 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.