aboutsummaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/container.h')
-rw-r--r--include/container.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/container.h b/include/container.h
index a96beab9..26da851e 100644
--- a/include/container.h
+++ b/include/container.h
@@ -8,7 +8,7 @@ typedef struct sway_container swayc_t;
8 8
9/** 9/**
10 * Different kinds of containers. 10 * Different kinds of containers.
11 * 11 *
12 * This enum is in order. A container will never be inside of a container below 12 * This enum is in order. A container will never be inside of a container below
13 * it on this list. 13 * it on this list.
14 */ 14 */
@@ -36,6 +36,12 @@ enum swayc_layouts {
36 L_LAYOUTS, 36 L_LAYOUTS,
37}; 37};
38 38
39enum swayc_border_types {
40 B_NONE, /**< No border */
41 B_PIXEL, /**< 1px border */
42 B_NORMAL /**< Normal border with title bar */
43};
44
39/** 45/**
40 * Stores information about a container. 46 * Stores information about a container.
41 * 47 *
@@ -109,6 +115,16 @@ struct sway_container {
109 * If this container's children include a fullscreen view, this is that view. 115 * If this container's children include a fullscreen view, this is that view.
110 */ 116 */
111 struct sway_container *fullscreen; 117 struct sway_container *fullscreen;
118 /**
119 * If this container is a view, this may be set to the window's decoration
120 * buffer (or NULL).
121 */
122 unsigned char *border;
123 enum swayc_border_types border_type;
124 struct wlc_geometry border_geometry;
125 struct wlc_geometry title_bar_geometry;
126 struct wlc_geometry actual_geometry;
127 int border_thickness;
112}; 128};
113 129
114enum visibility_mask { 130enum visibility_mask {