mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-30 14:38:00 +01:00
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:
parent
84bdc1378a
commit
db6d26c662
1 changed files with 2 additions and 0 deletions
|
@ -209,6 +209,8 @@
|
||||||
(add-hook 'window-configuration-change-hook #'exwm-layout--refresh)
|
(add-hook 'window-configuration-change-hook #'exwm-layout--refresh)
|
||||||
(set-window-dedicated-p window t)
|
(set-window-dedicated-p window t)
|
||||||
(exwm-layout--show id window))
|
(exwm-layout--show id window))
|
||||||
|
(with-selected-frame exwm-workspace--current
|
||||||
|
(exwm-layout--refresh))
|
||||||
(select-frame-set-input-focus frame))
|
(select-frame-set-input-focus frame))
|
||||||
(run-hooks 'exwm-floating-setup-hook)
|
(run-hooks 'exwm-floating-setup-hook)
|
||||||
;; Redraw the frame.
|
;; Redraw the frame.
|
||||||
|
|
Loading…
Reference in a new issue