mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
swaybar: fix setting floating watcher slots
This commit is contained in:
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…
Reference in a new issue