Add area.name, useful for debugging
This commit is contained in:
@@ -99,6 +99,7 @@ void default_panel()
|
||||
backgrounds = g_array_new(0, 0, sizeof(Background));
|
||||
|
||||
memset(&panel_config, 0, sizeof(Panel));
|
||||
snprintf(panel_config.area.name, sizeof(panel_config.area.name), "Panel");
|
||||
panel_config.mouse_over_alpha = 100;
|
||||
panel_config.mouse_over_saturation = 0;
|
||||
panel_config.mouse_over_brightness = 10;
|
||||
@@ -196,6 +197,7 @@ void init_panel()
|
||||
p->area.bg = &g_array_index(backgrounds, Background, 0);
|
||||
p->area.parent = p;
|
||||
p->area.panel = p;
|
||||
snprintf(p->area.name, sizeof(p->area.name), "Panel %d", i);
|
||||
p->area.on_screen = TRUE;
|
||||
p->area.resize_needed = 1;
|
||||
p->area.size_mode = LAYOUT_DYNAMIC;
|
||||
|
||||
Reference in New Issue
Block a user