aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-29 13:49:28 +0200
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-30 00:47:58 +0200
commit86ea79ea6de62c0958511d45e755a4a7767efcd0 (patch)
tree96369d7356313ad86c1064c74db54258500814f2 /include
parentcefcce48aad4e452be9d081b1cd1521e2b042e97 (diff)
downloadsway-86ea79ea6de62c0958511d45e755a4a7767efcd0.tar.xz
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 {
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;