summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index fdd2fe6b..4b30f729 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -717,6 +717,13 @@ void update_geometry(swayc_t *container) {
717 border_bottom = 0; 717 border_bottom = 0;
718 } 718 }
719 } 719 }
720
721 if (config->hide_edge_borders == E_SMART && workspace->children->length == 1) {
722 border_top = 0;
723 border_bottom = 0;
724 border_left = 0;
725 border_right = 0;
726 }
720 } 727 }
721 728
722 int title_bar_height = config->font_height + 4; //borders + padding 729 int title_bar_height = config->font_height + 4; //borders + padding