diff options
Diffstat (limited to 'include/container.h')
-rw-r--r-- | include/container.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index a96beab9..815898d7 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -36,6 +36,12 @@ enum swayc_layouts { | |||
36 | L_LAYOUTS, | 36 | L_LAYOUTS, |
37 | }; | 37 | }; |
38 | 38 | ||
39 | enum 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,15 @@ 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 presumed_geometry; | ||
126 | int border_thickness; | ||
112 | }; | 127 | }; |
113 | 128 | ||
114 | enum visibility_mask { | 129 | enum visibility_mask { |