1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 00:51:58 +01:00
Tobias Bengfort 2020-12-24 22:42:48 +01:00 committed by Simon Ser
parent a1905c6a08
commit b4fd4bca0e

@ -466,6 +466,11 @@ uint32_t render_sni(cairo_t *cairo, struct swaybar_output *output, double *x,
sni->target_size = target_size;
}
// Passive
if (sni->status && sni->status[0] == 'P') {
return 0;
}
int icon_size;
cairo_surface_t *icon;
if (sni->icon) {