mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Implement parsing of hide_edge_borders
This commit is contained in:
parent
cefcce48aa
commit
86ea79ea6d
4 changed files with 39 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue