swaybar: fix setting floating watcher slots

This commit is contained in:
Ian Fan 2019-01-21 14:56:00 +00:00 committed by emersion
parent cddb057343
commit 410c961388

View file

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