- if (panel->area.pix.border.rounded > panel->area.height/2)
- panel->area.pix.border.rounded = panel->area.height/2;
+ if (panel->area.bg->border.rounded > panel->area.height/2) {
+ printf("panel_background_id rounded is too big... please fix your tint2rc\n");
+ g_array_append_val(backgrounds, *panel->area.bg);
+ panel->area.bg = &g_array_index(backgrounds, Background, backgrounds->len-1);
+ panel->area.bg->border.rounded = panel->area.height/2;
+ }