mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 13:07:59 +01:00
; * exwm.el (exwm-enable): Ignore unrecognized command line arguments.
This commit is contained in:
parent
8061e93878
commit
b87f4fbd71
1 changed files with 3 additions and 0 deletions
3
exwm.el
3
exwm.el
|
@ -681,6 +681,9 @@ This hook is only run when EXWM is started with emacsclient.")
|
||||||
(_ ;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)
|
||||||
|
;; Ignore unrecognized command line arguments. This can be helpful
|
||||||
|
;; when EXWM is launched by some session manager.
|
||||||
|
(push #'vector command-line-functions)
|
||||||
(add-hook 'window-setup-hook #'exwm-init t) ;for Emacs
|
(add-hook 'window-setup-hook #'exwm-init t) ;for Emacs
|
||||||
(add-hook 'after-make-frame-functions #'exwm-init t) ;for Emacs Client
|
(add-hook 'after-make-frame-functions #'exwm-init t) ;for Emacs Client
|
||||||
(add-hook 'kill-emacs-hook #'exwm--server-stop)
|
(add-hook 'kill-emacs-hook #'exwm--server-stop)
|
||||||
|
|
Loading…
Reference in a new issue