diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-15 01:59:07 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-15 02:04:03 -0700 |
commit | 5bb2a77b7ef357975346b0380471aedbd775d164 (patch) | |
tree | d04aea3ae29ab73640418aa96c9aaeb92de95a32 /src/overlays.h | |
parent | bc04055653fe64c4e8e109beedf96dd608007a3b (diff) |
overlays: paramize vwm_overlay_render() Render op
In vwm we were always doing a transparent overlay to preserve underlying
window visibility. With vmon this is undesirable and we just want to
copy the currently cached composited contents to the window, which is
also substantially less costly to perform.
Parameterize the operation so vwm and vmon can specify what's appropriate.
Diffstat (limited to 'src/overlays.h')
-rw-r--r-- | src/overlays.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/overlays.h b/src/overlays.h index 0c00101..0e9864c 100644 --- a/src/overlays.h +++ b/src/overlays.h @@ -20,6 +20,6 @@ void vwm_overlay_destroy(vwm_overlays_t *overlays, vwm_overlay_t *overlay); void vwm_overlay_reset_snowflakes(vwm_overlays_t *overlays, vwm_overlay_t *overlay); int vwm_overlay_set_visible_size(vwm_overlays_t *overlays, vwm_overlay_t *overlay, int width, int height); void vwm_overlay_compose(vwm_overlays_t *overlays, vwm_overlay_t *overlay, XserverRegion *res_damaged_region); -void vwm_overlay_render(vwm_overlays_t *overlays, vwm_overlay_t *overlay, Picture dest, int x, int y, int width, int height); +void vwm_overlay_render(vwm_overlays_t *overlays, vwm_overlay_t *overlay, int op, Picture dest, int x, int y, int width, int height); #endif |