Make replacing existing WM optional

* exwm.el (exwm-replace): New user option for specifying whether to
replace existing WM.
(exwm-init): Use it.
(exwm--wmsn-acquire, exwm-init): Do not print warning message when
user gives up replacing.
* exwm-core.el (exwm--wmsn-replace): Remove dead code.
This commit is contained in:
Chris Feng 2019-03-10 00:00:00 +00:00
parent 88c690217a
commit b12c67de2e
2 changed files with 9 additions and 5 deletions

View file

@ -41,9 +41,6 @@
(defvar exwm--wmsn-acquire-timeout 3
"Number of seconds to wait for other window managers to release the selection.")
(defvar exwm--wmsn-replace 'ask
"Replace existing window manager.")
(defvar exwm--guide-window nil
"An X window separating workspaces and X windows.")