Add border <none|normal|toggle|pixel> config

This commit is contained in:
Mikkel Oscar Lyderik 2016-03-29 14:40:25 +02:00
parent 86ea79ea6d
commit 3b05f92f76
5 changed files with 69 additions and 4 deletions

View file

@ -203,6 +203,8 @@ struct sway_config {
list_t *config_chain;
const char *current_config;
enum swayc_border_types border;
int border_thickness;
enum edge_border_types hide_edge_borders;
// border colors

View file

@ -8,7 +8,7 @@ typedef struct sway_container swayc_t;
/**
* Different kinds of containers.
*
*
* This enum is in order. A container will never be inside of a container below
* it on this list.
*/
@ -37,9 +37,9 @@ enum swayc_layouts {
};
enum swayc_border_types {
B_NONE, /**< No border */
B_PIXEL, /**< 1px border */
B_NORMAL /**< Normal border with title bar */
B_NONE, /**< No border */
B_PIXEL, /**< 1px border */
B_NORMAL /**< Normal border with title bar */
};
/**