diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-04-27 07:19:47 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-04-27 07:19:47 -0400 |
commit | 89af3f78b2cce23953d4c67603bbc1d09b980bcc (patch) | |
tree | 8e185c6a180f62ccf3a2fd55164a6b449bbceb1e /include/border.h | |
parent | 70f0099918587483ca523bd11c309c046fea037c (diff) | |
parent | ddd5b69b998a8f413ad3b7ec5ff4d54221dfc0b6 (diff) |
Merge pull request #606 from mikkeloscar/tabbed-stacking-layout
border: clear buffer on fullscreen views
Diffstat (limited to 'include/border.h')
-rw-r--r-- | include/border.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/border.h b/include/border.h index c99c02ea..eb7fc656 100644 --- a/include/border.h +++ b/include/border.h @@ -3,11 +3,19 @@ #include <wlc/wlc.h> #include "container.h" +/** + * Border pixel buffer and corresponding geometry. + */ struct border { unsigned char *buffer; struct wlc_geometry geometry; }; +/** + * Clear border buffer. + */ +void border_clear(struct border *border); + void render_view_borders(wlc_handle view); void update_view_border(swayc_t *view); void map_update_view_border(swayc_t *view, void *data); |