sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit d3c527220a445c1f88b892c0e77e801d326541b7
parent 5484f308b9aa53ab9c13d670d84a7fc35d447c1a
Author: Ian Fan <ianfan0@gmail.com>
Date:   Fri, 15 Feb 2019 15:15:45 +0000

tray: use correct parameter to set bus slot to floating

Counter-intuitively, `sd_bus_slot_set_floating` expects 0 to set it to
floating.

Diffstat:
Mswaybar/tray/host.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/swaybar/tray/host.c b/swaybar/tray/host.c @@ -189,9 +189,9 @@ bool init_host(struct swaybar_host *host, char *protocol, goto error; } - sd_bus_slot_set_floating(reg_slot, 1); - sd_bus_slot_set_floating(unreg_slot, 1); - sd_bus_slot_set_floating(watcher_slot, 1); + sd_bus_slot_set_floating(reg_slot, 0); + sd_bus_slot_set_floating(unreg_slot, 0); + sd_bus_slot_set_floating(watcher_slot, 0); sway_log(SWAY_DEBUG, "Registered %s", host->service); return true;