mirror of
https://github.com/NickHu/sway
synced 2024-12-26 21:58:30 +01:00
swaybar: fix setting floating watcher slots
This commit is contained in:
parent
cddb057343
commit
410c961388
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue