about summary refs log tree commit diff
path: root/exwm-systemtray.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm-systemtray.el')
-rw-r--r--exwm-systemtray.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-systemtray.el b/exwm-systemtray.el
index c85d7436bbb3..cb08ba9560c3 100644
--- a/exwm-systemtray.el
+++ b/exwm-systemtray.el
@@ -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)