mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 13:07:59 +01:00
Use xcb:connect' instead of
xcb:connect-to-socket'
* exwm.el (exwm-init): * exwm-systemtray.el (exwm-systemtray--init): Use `xcb:connect' instead of `xcb:connect-to-socket'.
This commit is contained in:
parent
009854e766
commit
2dcb26ce9d
2 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,7 @@ You shall use the default value if using auto-hide minibuffer.")
|
|||
(setq exwm-systemtray-height (max exwm-systemtray--icon-min-size
|
||||
(line-pixel-height))))
|
||||
;; Create a new connection.
|
||||
(setq exwm-systemtray--connection (xcb:connect-to-socket))
|
||||
(setq exwm-systemtray--connection (xcb:connect))
|
||||
(set-process-query-on-exit-flag (slot-value exwm-systemtray--connection
|
||||
'process)
|
||||
nil)
|
||||
|
|
2
exwm.el
2
exwm.el
|
@ -481,7 +481,7 @@
|
|||
(exwm--log "Not running under X environment")
|
||||
(unless exwm--connection
|
||||
(exwm-enable 'undo) ;never initialize again
|
||||
(setq exwm--connection (xcb:connect-to-socket))
|
||||
(setq exwm--connection (xcb:connect))
|
||||
(set-process-query-on-exit-flag (slot-value exwm--connection 'process)
|
||||
nil) ;prevent query message on exit
|
||||
(setq exwm--root
|
||||
|
|
Loading…
Reference in a new issue