From 2f430db735f33abb4fc009fc6ec8c12f74f57dba Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Fri, 9 Mar 2018 01:06:39 +0800 Subject: Minor fixes --- exwm-systemtray.el | 1 + 1 file changed, 1 insertion(+) (limited to 'exwm-systemtray.el') diff --git a/exwm-systemtray.el b/exwm-systemtray.el index d932032e5905..dea5dbbc2e6e 100644 --- a/exwm-systemtray.el +++ b/exwm-systemtray.el @@ -376,6 +376,7 @@ You shall use the default value if using auto-hide minibuffer." :selection xcb:Atom:_NET_SYSTEM_TRAY_S0)) (when (/= owner xcb:Window:None) (xcb:disconnect exwm-systemtray--connection) + (setq exwm-systemtray--connection nil) (warn "[EXWM] Other system tray detected") (cl-return-from exwm-systemtray--init))) (let ((id (xcb:generate-id exwm-systemtray--connection))) -- cgit 1.4.1