We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b009d00 commit 9c46abeCopy full SHA for 9c46abe
trayicon1/daemon.go
@@ -48,8 +48,10 @@ func (d *Daemon) Start() error {
48
d.sigLoop = dbusutil.NewSignalLoop(sessionBus, 10)
49
d.sigLoop.Start()
50
51
- if os.Getenv("XDG_SESSION_TYPE") != "wayland" {
52
- // init x conn
+ // Enable this on both x11 and wayland(for xwayland support)
+ // #region init x conn
53
+ var enableTraySelectionManager = false
54
+ if os.Getenv("XDG_SESSION_TYPE") != "wayland" && enableTraySelectionManager {
55
XConn, err = x.NewConn()
56
if err != nil {
57
return err
@@ -79,6 +81,7 @@ func (d *Daemon) Start() error {
79
81
80
82
}
83
84
+ // #endregion
85
86
if os.Getenv("DDE_DISABLE_STATUS_NOTIFIER_WATCHER") != "1" {
87
d.snw = newStatusNotifierWatcher(service, d.sigLoop)
0 commit comments