diff options
author | 2019-01-09 09:58:09 +0100 | |
---|---|---|
committer | 2019-01-09 09:58:09 +0100 | |
commit | cfdb614e84ff6559897057c501b8ae530a699543 (patch) | |
tree | 71a71283cd91bef017673e23b3a79a9520e63dd8 /swaybar/tray/tray.c | |
parent | Merge pull request #3389 from RedSoxFan/swap-context-seat (diff) | |
parent | swaybar: improve tray logging (diff) | |
download | sway-cfdb614e84ff6559897057c501b8ae530a699543.tar.gz sway-cfdb614e84ff6559897057c501b8ae530a699543.tar.zst sway-cfdb614e84ff6559897057c501b8ae530a699543.zip |
Merge pull request #3372 from ianyfan/tray
swaybar: handle SNI signals better
Diffstat (limited to 'swaybar/tray/tray.c')
-rw-r--r-- | swaybar/tray/tray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/tray/tray.c b/swaybar/tray/tray.c index acc300af..0c3517cb 100644 --- a/swaybar/tray/tray.c +++ b/swaybar/tray/tray.c | |||
@@ -79,7 +79,7 @@ void destroy_tray(struct swaybar_tray *tray) { | |||
79 | finish_host(&tray->host_xdg); | 79 | finish_host(&tray->host_xdg); |
80 | finish_host(&tray->host_kde); | 80 | finish_host(&tray->host_kde); |
81 | for (int i = 0; i < tray->items->length; ++i) { | 81 | for (int i = 0; i < tray->items->length; ++i) { |
82 | destroy_sni(tray->items->items[0]); | 82 | destroy_sni(tray->items->items[i]); |
83 | } | 83 | } |
84 | list_free(tray->items); | 84 | list_free(tray->items); |
85 | destroy_watcher(tray->watcher_xdg); | 85 | destroy_watcher(tray->watcher_xdg); |