sway

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

commit 7fbd9fbf2825f1c41468ac996aced9ba4b152992
parent b762f455d942e81e076a4a4d475fb9926372da16
Author: Hodong <111117126+hodong-kim@users.noreply.github.com>
Date:   Sat, 24 Jun 2023 00:54:08 +0900

swaybar: remove the argument of StatusNotifierHostRegistered

According to
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/
there is no argument for the StatusNotifierHostRegistered signal.
Diffstat:
Mswaybar/tray/watcher.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swaybar/tray/watcher.c b/swaybar/tray/watcher.c @@ -106,7 +106,7 @@ static int register_host(sd_bus_message *msg, void *data, sd_bus_error *error) { sway_log(SWAY_DEBUG, "Registering Status Notifier Host '%s'", service); list_add(watcher->hosts, strdup(service)); sd_bus_emit_signal(watcher->bus, obj_path, watcher->interface, - "StatusNotifierHostRegistered", "s", service); + "StatusNotifierHostRegistered", ""); } else { sway_log(SWAY_DEBUG, "Status Notifier Host '%s' already registered", service); }