mirror of
https://github.com/swaywm/sway.git
synced 2024-10-31 21:47:24 +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;
|
||||
}
|
||||
|
||||
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