aboutsummaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-03-29 13:49:28 +0200
committerFurkan Sahin <furkan-dev@proton.me>2016-03-29 13:49:28 +0200
commiteeb6ff429181edccfe7ac34c2f1c1b7f3f27cba0 (patch)
tree96369d7356313ad86c1064c74db54258500814f2 /include/config.h
parent9b4ad398c3571e8ba94da95b8c53d5f3172c9c1f (diff)
Implement parsing of hide_edge_borders
Diffstat (limited to 'include/config.h')
-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 {
uint32_t child_border;
};
+enum edge_border_types {
+ E_NONE, /**< Don't hide edge borders */
+ E_VERTICAL, /**< hide vertical edge borders */
+ E_HORIZONTAL, /**< hide horizontal edge borders */
+ E_BOTH /**< hide vertical and horizontal edge borders */
+};
+
/**
* The configuration struct. The result of loading a config file.
*/
@@ -196,6 +203,8 @@ struct sway_config {
list_t *config_chain;
const char *current_config;
+ enum edge_border_types hide_edge_borders;
+
// border colors
struct {
struct border_colors focused;