diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-08-26 02:33:32 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-08-26 02:33:32 -0700 |
commit | 9d4d28e099fb8e462a36151551d6a8db1263bdd5 (patch) | |
tree | 1d3963b7c1bf07946f28489f877362b5166be962 /src/charts.h | |
parent | 38ea6aa681cd7c0652ffc56f6976d069ef683229 (diff) |
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...
Diffstat (limited to 'src/charts.h')
-rw-r--r-- | src/charts.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |