diff options
author | 2016-04-27 07:19:47 -0400 | |
---|---|---|
committer | 2016-04-27 07:19:47 -0400 | |
commit | 89af3f78b2cce23953d4c67603bbc1d09b980bcc (patch) | |
tree | 8e185c6a180f62ccf3a2fd55164a6b449bbceb1e /include/border.h | |
parent | Merge pull request #603 from fluxchief/master (diff) | |
parent | border: clear buffer on fullscreen views (diff) | |
download | sway-89af3f78b2cce23953d4c67603bbc1d09b980bcc.tar.gz sway-89af3f78b2cce23953d4c67603bbc1d09b980bcc.tar.zst sway-89af3f78b2cce23953d4c67603bbc1d09b980bcc.zip |
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 @@ | |||
3 | #include <wlc/wlc.h> | 3 | #include <wlc/wlc.h> |
4 | #include "container.h" | 4 | #include "container.h" |
5 | 5 | ||
6 | /** | ||
7 | * Border pixel buffer and corresponding geometry. | ||
8 | */ | ||
6 | struct border { | 9 | struct border { |
7 | unsigned char *buffer; | 10 | unsigned char *buffer; |
8 | struct wlc_geometry geometry; | 11 | struct wlc_geometry geometry; |
9 | }; | 12 | }; |
10 | 13 | ||
14 | /** | ||
15 | * Clear border buffer. | ||
16 | */ | ||
17 | void border_clear(struct border *border); | ||
18 | |||
11 | void render_view_borders(wlc_handle view); | 19 | void render_view_borders(wlc_handle view); |
12 | void update_view_border(swayc_t *view); | 20 | void update_view_border(swayc_t *view); |
13 | void map_update_view_border(swayc_t *view, void *data); | 21 | void map_update_view_border(swayc_t *view, void *data); |