Add area.name, useful for debugging

This commit is contained in:
o9000
2016-03-25 11:13:05 +01:00
parent 76bd4baa9c
commit 1edaf21bde
10 changed files with 15 additions and 1 deletions

View File

@@ -180,6 +180,7 @@ void init_clock_panel(void *p)
clock_init_fonts();
clock->area.parent = p;
clock->area.panel = p;
snprintf(clock->area.name, sizeof(clock->area.name), "Clock");
clock->area._is_under_mouse = full_width_area_is_under_mouse;
clock->area.has_mouse_press_effect = clock->area.has_mouse_over_effect =
panel_config.mouse_effects && (clock_lclick_command || clock_mclick_command || clock_rclick_command ||