summaryrefslogtreecommitdiffstats
path: root/swaybar/tray/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/tray/host.c')
-rw-r--r--swaybar/tray/host.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaybar/tray/host.c b/swaybar/tray/host.c
index 8ab896d4..c5756f17 100644
--- a/swaybar/tray/host.c
+++ b/swaybar/tray/host.c
@@ -4,6 +4,7 @@
4#include <stdlib.h> 4#include <stdlib.h>
5#include <string.h> 5#include <string.h>
6#include <unistd.h> 6#include <unistd.h>
7#include "swaybar/bar.h"
7#include "swaybar/tray/host.h" 8#include "swaybar/tray/host.h"
8#include "swaybar/tray/item.h" 9#include "swaybar/tray/item.h"
9#include "swaybar/tray/tray.h" 10#include "swaybar/tray/tray.h"
@@ -56,6 +57,7 @@ static int handle_sni_unregistered(sd_bus_message *msg, void *data,
56 wlr_log(WLR_DEBUG, "Unregistering Status Notifier Item '%s'", id); 57 wlr_log(WLR_DEBUG, "Unregistering Status Notifier Item '%s'", id);
57 destroy_sni(tray->items->items[idx]); 58 destroy_sni(tray->items->items[idx]);
58 list_del(tray->items, idx); 59 list_del(tray->items, idx);
60 set_bar_dirty(tray->bar);
59 } 61 }
60 return ret; 62 return ret;
61} 63}