swaybar: fix setting floating watcher slots

master
Ian Fan 6 years ago committed by emersion
parent cddb057343
commit 410c961388

@ -185,8 +185,8 @@ struct swaybar_watcher *create_watcher(char *protocol, sd_bus *bus) {
goto error; goto error;
} }
sd_bus_slot_set_floating(signal_slot, 0); sd_bus_slot_set_floating(signal_slot, 1);
sd_bus_slot_set_floating(vtable_slot, 0); sd_bus_slot_set_floating(vtable_slot, 1);
watcher->bus = bus; watcher->bus = bus;
watcher->hosts = create_list(); watcher->hosts = create_list();

Loading…
Cancel
Save