aboutsummaryrefslogtreecommitdiff
path: root/include/border.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/border.h')
-rw-r--r--include/border.h8
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);