diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 3dedbec8..8c93c20d 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -334,8 +334,12 @@ enum edge_border_types { | |||
334 | E_VERTICAL, /**< hide vertical edge borders */ | 334 | E_VERTICAL, /**< hide vertical edge borders */ |
335 | E_HORIZONTAL, /**< hide horizontal edge borders */ | 335 | E_HORIZONTAL, /**< hide horizontal edge borders */ |
336 | E_BOTH, /**< hide vertical and horizontal edge borders */ | 336 | E_BOTH, /**< hide vertical and horizontal edge borders */ |
337 | E_SMART, /**< hide both if precisely one window is present in workspace */ | 337 | }; |
338 | E_SMART_NO_GAPS, /**< hide both if one window and gaps to edge is zero */ | 338 | |
339 | enum edge_border_smart_types { | ||
340 | ESMART_OFF, | ||
341 | ESMART_ON, /**< hide edges if precisely one window is present in workspace */ | ||
342 | ESMART_NO_GAPS, /**< hide edges if one window and gaps to edge is zero */ | ||
339 | }; | 343 | }; |
340 | 344 | ||
341 | enum sway_popup_during_fullscreen { | 345 | enum sway_popup_during_fullscreen { |
@@ -510,7 +514,7 @@ struct sway_config { | |||
510 | int border_thickness; | 514 | int border_thickness; |
511 | int floating_border_thickness; | 515 | int floating_border_thickness; |
512 | enum edge_border_types hide_edge_borders; | 516 | enum edge_border_types hide_edge_borders; |
513 | enum edge_border_types saved_edge_borders; | 517 | enum edge_border_smart_types hide_edge_borders_smart; |
514 | bool hide_lone_tab; | 518 | bool hide_lone_tab; |
515 | 519 | ||
516 | // border colors | 520 | // border colors |