diff options
author | willakat <[email protected]> | 2017-01-14 19:40:02 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-01-14 19:40:02 +0100 |
commit | 4c06a100046db6f8756e245c351eb9420a272f93 (patch) | |
tree | 51350f88fb37fea4c94c5787d0df32a3eb102ab1 /sway/layout.c | |
parent | dc361fd9df4a1b40fd4df0f7442944d51bca7760 (diff) | |
parent | 0001b00706bfdaa185a9fd6823ff947c14aa3b5f (diff) |
Merge branch 'master' into master
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 7 |
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) { border_bottom = 0; } } + + if (config->hide_edge_borders == E_SMART && workspace->children->length == 1) { + border_top = 0; + border_bottom = 0; + border_left = 0; + border_right = 0; + } } int title_bar_height = config->font_height + 4; //borders + padding |