Refresh the workspace after creating a floating X window

* exwm-floating.el (exwm-floating--set-floating): Refresh the workspace
(since auto-refresh was disabled).
This commit is contained in:
Chris Feng 2016-02-24 21:27:23 +08:00
parent 84bdc1378a
commit db6d26c662

View file

@ -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.