all repos — tint2 @ f68eabcf355844adde55c296e17f29e107cdc745

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

config: Prevent segfault if panel_items appears late in the config file
o9000 o9000
commit

f68eabcf355844adde55c296e17f29e107cdc745

parent

e218b3fa96b0d29c378cc0f951ed5c645e742cbe

1 files changed, 5 insertions(+), 0 deletions(-)

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

@@ -258,6 +258,11 @@ else if (strcmp (key, "panel_items") == 0) {

new_config_file = 1; panel_items_order = strdup(value); int j; + systray_enabled = 0; + launcher_enabled = 0; + battery_enabled = 0; + clock_enabled = 0; + taskbar_enabled = 0; for (j=0 ; j < strlen(panel_items_order) ; j++) { if (panel_items_order[j] == 'L') launcher_enabled = 1;