about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
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 f8a3fc727200..c9dc6cd0ebb0 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