From 410c961388bbfecb5f1b63e4a1977a78709a6e57 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Mon, 21 Jan 2019 14:56:00 +0000 Subject: swaybar: fix setting floating watcher slots --- swaybar/tray/watcher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swaybar/tray/watcher.c b/swaybar/tray/watcher.c index 68052ed9..38151071 100644 --- a/swaybar/tray/watcher.c +++ b/swaybar/tray/watcher.c @@ -185,8 +185,8 @@ struct swaybar_watcher *create_watcher(char *protocol, sd_bus *bus) { goto error; } - sd_bus_slot_set_floating(signal_slot, 0); - sd_bus_slot_set_floating(vtable_slot, 0); + sd_bus_slot_set_floating(signal_slot, 1); + sd_bus_slot_set_floating(vtable_slot, 1); watcher->bus = bus; watcher->hosts = create_list(); -- cgit v1.2.3