aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-10-02 11:37:33 +1000
committerGitHub <noreply@github.com>2018-10-02 11:37:33 +1000
commit183a4b0d6bbd17199d7071bfe5b76feb87838c18 (patch)
treea19bcbc62ff5d4ddcb822914a4f3516c7766406a /include/sway/config.h
parentb542c5413efdbbe0bbf3be0196fe566b8c6bb07f (diff)
parentbb25194844599bb653a78633c9c09c0c0ff225ee (diff)
Merge pull request #2740 from RedSoxFan/gap-borders
Handle gap borders
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index eab48aed..98a18b76 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -253,7 +253,8 @@ enum edge_border_types {
E_VERTICAL, /**< hide vertical edge borders */
E_HORIZONTAL, /**< hide horizontal edge borders */
E_BOTH, /**< hide vertical and horizontal edge borders */
- E_SMART /**< hide both if precisely one window is present in workspace */
+ E_SMART, /**< hide both if precisely one window is present in workspace */
+ E_SMART_NO_GAPS, /**< hide both if one window and gaps to edge is zero */
};
enum command_context {
@@ -383,6 +384,7 @@ struct sway_config {
int border_thickness;
int floating_border_thickness;
enum edge_border_types hide_edge_borders;
+ enum edge_border_types saved_edge_borders;
// border colors
struct {