diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-22 18:36:54 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-25 16:51:17 -0700 |
commit | 36daa7b60f0545a79482d174c778293ec831e03e (patch) | |
tree | e5d6b8d93d5ed66db08141c7d24372e808d17d3a /src/xevent.c | |
parent | 3657ce966227e9be0334540178ca578bc8d5ad0d (diff) |
overlays: rename overlays->charts
vmon introduces a non-overlay usage, monitors is correct but ambiguous,
graphs is also amiguous, charts is short and distinctive.
renaming of the files comes in a separate, future commit.
Diffstat (limited to 'src/xevent.c')
-rw-r--r-- | src/xevent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xevent.c b/src/xevent.c index cc946bd..ad8c27d 100644 --- a/src/xevent.c +++ b/src/xevent.c @@ -108,8 +108,8 @@ void vwm_xevent_handle_configure_notify(vwm_t *vwm, XConfigureEvent *ev) vwm_xwin_restack(vwm, xwin, ev->above); XGetWindowAttributes(VWM_XDISPLAY(vwm), ev->window, &attrs); vwm_composite_handle_configure(vwm, xwin, &attrs); - if (xwin->overlay) - vwm_overlay_set_visible_size(vwm->overlays, xwin->overlay, attrs.width, attrs.height); + if (xwin->chart) + vwm_chart_set_visible_size(vwm->charts, xwin->chart, attrs.width, attrs.height); VWM_TRACE("pre x=%i y=%i w=%i h=%i\n", xwin->attrs.x, xwin->attrs.y, xwin->attrs.width, xwin->attrs.height); xwin->attrs = attrs; @@ -222,7 +222,7 @@ void vwm_xevent_handle_property_notify(vwm_t *vwm, XPropertyEvent *ev) if ((xwin = vwm_xwin_lookup(vwm, ev->window)) && ev->atom == vwm->wm_pid_atom && ev->state == PropertyNewValue) - vwm_xwin_setup_overlay(vwm, xwin); + vwm_xwin_setup_chart(vwm, xwin); } |