aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2019-01-21 14:56:00 +0000
committeremersion <contact@emersion.fr>2019-01-21 16:05:15 +0100
commit410c961388bbfecb5f1b63e4a1977a78709a6e57 (patch)
tree75d4d75e4cf1aa1793dc59d9c430d258347e0216
parentcddb057343ffe9a878e945404a91b6b0ca3e4ad4 (diff)
swaybar: fix setting floating watcher slots
-rw-r--r--swaybar/tray/watcher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/tray/watcher.c b/swaybar/tray/watcher.c
index 68052ed9..38151071 100644
--- a/swaybar/tray/watcher.c
+++ b/swaybar/tray/watcher.c
@@ -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();