about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-05-12T16·11+0800
committerChris Feng <chris.w.feng@gmail.com>2016-05-12T16·11+0800
commit2dcb26ce9d4411200c635f19c372fc6c34f3bafe (patch)
treea8c4fa1b9951d736eb75ff2fa0d41e6a1bc62ba1 /exwm.el
parent009854e766728ed17741bf9f7e6d86f9ccc71871 (diff)
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'.
Diffstat (limited to 'exwm.el')
-rw-r--r--exwm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el
index f8a3fc7272..c9dc6cd0eb 100644
--- a/exwm.el
+++ b/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