aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/tray
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/tray')
-rw-r--r--swaybar/tray/item.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/swaybar/tray/item.c b/swaybar/tray/item.c
index 6d4b17bf..0cb5ee9d 100644
--- a/swaybar/tray/item.c
+++ b/swaybar/tray/item.c
@@ -466,6 +466,11 @@ uint32_t render_sni(cairo_t *cairo, struct swaybar_output *output, double *x,
466 sni->target_size = target_size; 466 sni->target_size = target_size;
467 } 467 }
468 468
469 // Passive
470 if (sni->status && sni->status[0] == 'P') {
471 return 0;
472 }
473
469 int icon_size; 474 int icon_size;
470 cairo_surface_t *icon; 475 cairo_surface_t *icon;
471 if (sni->icon) { 476 if (sni->icon) {