From 86ea79ea6de62c0958511d45e755a4a7767efcd0 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Tue, 29 Mar 2016 13:49:28 +0200 Subject: Implement parsing of hide_edge_borders --- include/config.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/config.h') 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; -- cgit v1.2.3-54-g00ecf