summaryrefslogtreecommitdiff
path: root/src/xwindow.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/xwindow.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/xwindow.c')
-rw-r--r--src/xwindow.c2
1 files changed, 1 insertions, 1 deletions
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. */
}
}
© All Rights Reserved