panel_config = calloc(1, sizeof(Panel));
systray.sort = 1;
+
// window manager's menu default value == false
wm_menu = 0;
max_tick_urgent = 7;
panel_config->battery.area.on_screen = 1;
#else
if(atoi(value) == 1)
- printf("tint2 is build without battery support\n");
+ fprintf(stderr, "tint2 is build without battery support\n");
#endif
}
else if (strcmp (key, "battery_low_status") == 0) {
memcpy(&panel_config->g_taskbar.pix.back, &a->pix.back, sizeof(Color));
memcpy(&panel_config->g_taskbar.pix.border, &a->pix.border, sizeof(Border));
}
+ else if (strcmp (key, "taskbar_active_background_id") == 0) {
+ int id = atoi (value);
+ Area *a = g_slist_nth_data(list_back, id);
+ memcpy(&panel_config->g_taskbar.pix_active.back, &a->pix.back, sizeof(Color));
+ memcpy(&panel_config->g_taskbar.pix_active.border, &a->pix.border, sizeof(Border));
+ panel_config->g_taskbar.use_active = 1;
+ }
/* Task */
else if (strcmp (key, "task_text") == 0)