summaryrefslogtreecommitdiff
path: root/src/vmon.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-08-26 02:33:32 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-08-26 02:33:32 -0700
commit9d4d28e099fb8e462a36151551d6a8db1263bdd5 (patch)
tree1d3963b7c1bf07946f28489f877362b5166be962 /src/vmon.c
parent38ea6aa681cd7c0652ffc56f6976d069ef683229 (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/vmon.c')
-rw-r--r--src/vmon.c2
1 files changed, 1 insertions, 1 deletions
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;
© All Rights Reserved