all repos — tint2 @ 0e8a6dd961276f581402a0539a019ff481bf3df6

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Systray: warn on duplicate config option systray_name_filter (issue #652)
o9000 mrovi9000@gmail.com
commit

0e8a6dd961276f581402a0539a019ff481bf3df6

parent

c4a0ec414050920d47a2638bea7ae6c723051c49

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/config.csrc/config.c

@@ -1133,8 +1133,10 @@ systray.brightness = atoi(value3);

} else if (strcmp(key, "systray_monitor") == 0) { systray_monitor = MAX(0, config_get_monitor(value)); } else if (strcmp(key, "systray_name_filter") == 0) { - if (systray_hide_name_filter) + if (systray_hide_name_filter) { + fprintf(stderr, "tint2: Error: duplicate option 'systray_name_filter'. Please use it only once. See https://gitlab.com/o9000/tint2/issues/652\n"); free(systray_hide_name_filter); + } systray_hide_name_filter = strdup(value); }