systray_hide_by_icon_name if equal to 0 do nothing
iflyun@gmail.com iflyun@gmail.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/systray/systraybar.c
→
src/systray/systraybar.c
@@ -590,7 +590,7 @@ // Filter out systray_hide_by_icon_name
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";