[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm 2dcb26c 3/3: Use `xcb:connect' instead of `xcb:con

From: Chris Feng
Subject: [elpa] externals/exwm 2dcb26c 3/3: Use `xcb:connect' instead of `xcb:connect-to-socket'
Date: Thu, 12 May 2016 16:18:56 +0000 (UTC)

branch: externals/exwm
commit 2dcb26ce9d4411200c635f19c372fc6c34f3bafe
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

    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'.
 exwm-systemtray.el |    2 +-
 exwm.el            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/exwm-systemtray.el b/exwm-systemtray.el
index c85d743..cb08ba9 100644
--- a/exwm-systemtray.el
+++ b/exwm-systemtray.el
@@ -306,7 +306,7 @@ You shall use the default value if using auto-hide 
     (setq exwm-systemtray-height (max exwm-systemtray--icon-min-size
   ;; 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
diff --git a/exwm.el b/exwm.el
index f8a3fc7..c9dc6cd 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]