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/xwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xwindow.c') diff --git a/src/xwindow.c b/src/xwindow.c index 1deaf33..18ebf5f 100644 --- a/src/xwindow.c +++ b/src/xwindow.c @@ -105,7 +105,7 @@ void vwm_xwin_setup_chart(vwm_t *vwm, vwm_xwindow_t *xwin) int pid = vwm_xwin_get_pid(vwm, xwin); if (pid != -1) - xwin->chart = vwm_chart_create(vwm->charts, pid, xwin->attrs.width, xwin->attrs.height); + xwin->chart = vwm_chart_create(vwm->charts, pid, xwin->attrs.width, xwin->attrs.height, NULL); /* TODO: windows have names, incorporate it if present. */ } } -- cgit v1.2.3