summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-29 13:49:28 +0200
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-30 00:47:58 +0200
commit86ea79ea6de62c0958511d45e755a4a7767efcd0 (patch)
tree96369d7356313ad86c1064c74db54258500814f2 /include
parentMake client/pango.h not depend on client/window.h (diff)
downloadsway-86ea79ea6de62c0958511d45e755a4a7767efcd0.tar.gz
sway-86ea79ea6de62c0958511d45e755a4a7767efcd0.tar.zst
sway-86ea79ea6de62c0958511d45e755a4a7767efcd0.zip
Implement parsing of hide_edge_borders
Diffstat (limited to 'include')
-rw-r--r--include/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 5a58c07c..fe69e310 100644
--- a/include/config.h
+++ b/include/config.h
@@ -156,6 +156,13 @@ struct border_colors {
156 uint32_t child_border; 156 uint32_t child_border;
157}; 157};
158 158
159enum edge_border_types {
160 E_NONE, /**< Don't hide edge borders */
161 E_VERTICAL, /**< hide vertical edge borders */
162 E_HORIZONTAL, /**< hide horizontal edge borders */
163 E_BOTH /**< hide vertical and horizontal edge borders */
164};
165
159/** 166/**
160 * The configuration struct. The result of loading a config file. 167 * The configuration struct. The result of loading a config file.
161 */ 168 */
@@ -196,6 +203,8 @@ struct sway_config {
196 list_t *config_chain; 203 list_t *config_chain;
197 const char *current_config; 204 const char *current_config;
198 205
206 enum edge_border_types hide_edge_borders;
207
199 // border colors 208 // border colors
200 struct { 209 struct {
201 struct border_colors focused; 210 struct border_colors focused;