mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 13:07:59 +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--unlock)
|
||||||
(exwm-workspace--post-init)
|
(exwm-workspace--post-init)
|
||||||
(exwm-input--post-init)
|
(exwm-input--post-init)
|
||||||
|
(run-hooks 'exwm-init-hook)
|
||||||
;; Manage existing windows
|
;; Manage existing windows
|
||||||
(exwm-manage--scan)
|
(exwm-manage--scan))
|
||||||
(run-hooks 'exwm-init-hook))
|
|
||||||
((quit error)
|
((quit error)
|
||||||
(exwm-exit)
|
(exwm-exit)
|
||||||
;; Rethrow error
|
;; Rethrow error
|
||||||
|
|
Loading…
Reference in a new issue