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/vmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vmon.c') diff --git a/src/vmon.c b/src/vmon.c index f7ec8ee..ebac3a1 100644 --- a/src/vmon.c +++ b/src/vmon.c @@ -389,7 +389,7 @@ static vmon_t * vmon_startup(int argc, char * const argv[]) goto _err_charts; } - vmon->chart = vwm_chart_create(vmon->charts, vmon->pid, vmon->width, vmon->height); + vmon->chart = vwm_chart_create(vmon->charts, vmon->pid, vmon->width, vmon->height, vmon->name); if (!vmon->chart) { VWM_ERROR("unable to create chart"); goto _err_charts; -- cgit v1.2.3