Minor fixes

This commit is contained in:
Chris Feng 2018-03-09 01:06:39 +08:00
parent 7aae6efdcd
commit 2f430db735
8 changed files with 24 additions and 32 deletions

View file

@ -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)))