diff options
author | Hodong <111117126+hodong-kim@users.noreply.github.com> | 2023-06-24 00:54:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 17:54:08 +0200 |
commit | 7fbd9fbf2825f1c41468ac996aced9ba4b152992 (patch) | |
tree | fe747c7240c133f8332e4959aa7e4367b639d35e | |
parent | idle-inhibit-v1: simplify with server global (diff) | |
download | sway-7fbd9fbf2825f1c41468ac996aced9ba4b152992.tar.gz sway-7fbd9fbf2825f1c41468ac996aced9ba4b152992.tar.zst sway-7fbd9fbf2825f1c41468ac996aced9ba4b152992.zip |
swaybar: remove the argument of StatusNotifierHostRegistered
According to
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/
there is no argument for the StatusNotifierHostRegistered signal.
-rw-r--r-- | swaybar/tray/watcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/tray/watcher.c b/swaybar/tray/watcher.c index 551e1d12..2458a8c2 100644 --- 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) { | |||
106 | sway_log(SWAY_DEBUG, "Registering Status Notifier Host '%s'", service); | 106 | sway_log(SWAY_DEBUG, "Registering Status Notifier Host '%s'", service); |
107 | list_add(watcher->hosts, strdup(service)); | 107 | list_add(watcher->hosts, strdup(service)); |
108 | sd_bus_emit_signal(watcher->bus, obj_path, watcher->interface, | 108 | sd_bus_emit_signal(watcher->bus, obj_path, watcher->interface, |
109 | "StatusNotifierHostRegistered", "s", service); | 109 | "StatusNotifierHostRegistered", ""); |
110 | } else { | 110 | } else { |
111 | sway_log(SWAY_DEBUG, "Status Notifier Host '%s' already registered", service); | 111 | sway_log(SWAY_DEBUG, "Status Notifier Host '%s' already registered", service); |
112 | } | 112 | } |