exwm-enable: Set x-no-window-manager

* exwm.el (exwm-enable): Set `x-no-window-manager' which tells Emacs to not wait
for the window manager, which is Emacs itself if EXWM is used.
This commit is contained in:
Daniel Mendler 2024-12-23 19:50:09 +01:00
parent 6b49a2fa18
commit 53ea124e99
No known key found for this signature in database
GPG key ID: D88ADB2A2693CA43

View file

@ -1023,7 +1023,8 @@ Optional argument UNDO may be either of the following symbols:
(advice-remove i #'exwm--server-eval-at))) (advice-remove i #'exwm--server-eval-at)))
(_ ;enable EXWM (_ ;enable EXWM
(setq frame-resize-pixelwise t ;mandatory; before init (setq frame-resize-pixelwise t ;mandatory; before init
window-resize-pixelwise t) window-resize-pixelwise t
x-no-window-manager t)
;; Ignore unrecognized command line arguments. This can be helpful ;; Ignore unrecognized command line arguments. This can be helpful
;; when EXWM is launched by some session manager. ;; when EXWM is launched by some session manager.
(push #'vector command-line-functions) (push #'vector command-line-functions)