Implement parsing of hide_edge_borders

This commit is contained in:
Mikkel Oscar Lyderik 2016-03-29 13:49:28 +02:00
parent cefcce48aa
commit 86ea79ea6d
4 changed files with 39 additions and 0 deletions

View file

@ -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;