diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2016-02-24T13·27+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2016-02-24T13·27+0800 |
commit | db6d26c662a750b273e1bbc06902a2a46e101e4c (patch) | |
tree | df1c7a910a38eae06ff3fcfdd64c4ee51fda6918 /exwm-floating.el | |
parent | 84bdc1378a7ebe4537c0cd1cf7cd054cd4e28b78 (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.el | 2 |
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. |