From 9d4d28e099fb8e462a36151551d6a8db1263bdd5 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 26 Aug 2021 02:33:32 -0700 Subject: charts: add name to charts overlay Currently only vmon wires this up to --name, but vwm could get the window title of the window being overlayed and pass that in if set... --- src/charts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/charts.h') diff --git a/src/charts.h b/src/charts.h index ed71fdd..9e28afa 100644 --- a/src/charts.h +++ b/src/charts.h @@ -16,7 +16,7 @@ void vwm_charts_rate_decrease(vwm_charts_t *charts); void vwm_charts_rate_set(vwm_charts_t *charts, unsigned hertz); int vwm_charts_update(vwm_charts_t *charts, int *desired_delay); -vwm_chart_t * vwm_chart_create(vwm_charts_t *charts, int pid, int width, int height); +vwm_chart_t * vwm_chart_create(vwm_charts_t *charts, int pid, int width, int height, const char *name); void vwm_chart_destroy(vwm_charts_t *charts, vwm_chart_t *chart); void vwm_chart_reset_snowflakes(vwm_charts_t *charts, vwm_chart_t *chart); int vwm_chart_set_visible_size(vwm_charts_t *charts, vwm_chart_t *chart, int width, int height); -- cgit v1.2.3