summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-29 14:40:25 +0200
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-30 00:47:58 +0200
commit3b05f92f76c3bd9400320844e485eb06e94772cd (patch)
tree6bbd50ee74217527285e7296c841f59ab6e1fdc8 /include
parentImplement parsing of hide_edge_borders (diff)
downloadsway-3b05f92f76c3bd9400320844e485eb06e94772cd.tar.gz
sway-3b05f92f76c3bd9400320844e485eb06e94772cd.tar.zst
sway-3b05f92f76c3bd9400320844e485eb06e94772cd.zip
Add border <none|normal|toggle|pixel> config
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
-rw-r--r--include/container.h8
2 files changed, 6 insertions, 4 deletions
diff --git a/include/config.h b/include/config.h
index fe69e310..a35cfd0a 100644
--- a/include/config.h
+++ b/include/config.h
@@ -203,6 +203,8 @@ struct sway_config {
203 list_t *config_chain; 203 list_t *config_chain;
204 const char *current_config; 204 const char *current_config;
205 205
206 enum swayc_border_types border;
207 int border_thickness;
206 enum edge_border_types hide_edge_borders; 208 enum edge_border_types hide_edge_borders;
207 209
208 // border colors 210 // border colors
diff --git a/include/container.h b/include/container.h
index 815898d7..07514c8a 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 */
@@ -37,9 +37,9 @@ enum swayc_layouts {
37}; 37};
38 38
39enum swayc_border_types { 39enum swayc_border_types {
40 B_NONE, /**< No border */ 40 B_NONE, /**< No border */
41 B_PIXEL, /**< 1px border */ 41 B_PIXEL, /**< 1px border */
42 B_NORMAL /**< Normal border with title bar */ 42 B_NORMAL /**< Normal border with title bar */
43}; 43};
44 44
45/** 45/**