From 5e9791079d7d30b95d8d3040f932e57b6a180c37 Mon Sep 17 00:00:00 2001 From: "iflyun@gmail.com" Date: Sun, 12 Feb 2017 13:59:07 -0800 Subject: [PATCH] systray_hide_by_icon_name if equal to 0 do nothing --- src/systray/systraybar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index 6954fc2..fabf6b4 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -590,7 +590,7 @@ gboolean add_icon(Window win) char *token; char *string; string = strdup(systray_hide_icons); - if (string != NULL) { + if (string != NULL && string[0] != '0') { while ((token = strsep(&string, ",")) != NULL) { if (strcmp(token,name) == 0) { if (strcmp(token,"") == 0) token = "empty name";