mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-27 06:48:00 +01:00
Scan for existing X windows only after running `exwm-init-hook'
* exwm.el (exwm-init): Delay the call to `exwm-manage--scan' since managing existing X windows too early may result in issues like losing input focus.
This commit is contained in:
parent
65d371d55f
commit
44629818ba
1 changed files with 2 additions and 2 deletions
4
exwm.el
4
exwm.el
|
@ -833,9 +833,9 @@ manager. If t, replace it, if nil, abort and ask the user if `ask'."
|
|||
(exwm--unlock)
|
||||
(exwm-workspace--post-init)
|
||||
(exwm-input--post-init)
|
||||
(run-hooks 'exwm-init-hook)
|
||||
;; Manage existing windows
|
||||
(exwm-manage--scan)
|
||||
(run-hooks 'exwm-init-hook))
|
||||
(exwm-manage--scan))
|
||||
((quit error)
|
||||
(exwm-exit)
|
||||
;; Rethrow error
|
||||
|
|
Loading…
Reference in a new issue