aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-04-27 07:19:47 -0400
committerDrew DeVault <sir@cmpwn.com>2016-04-27 07:19:47 -0400
commit89af3f78b2cce23953d4c67603bbc1d09b980bcc (patch)
tree8e185c6a180f62ccf3a2fd55164a6b449bbceb1e /sway/layout.c
parent70f0099918587483ca523bd11c309c046fea037c (diff)
parentddd5b69b998a8f413ad3b7ec5ff4d54221dfc0b6 (diff)
Merge pull request #606 from mikkeloscar/tabbed-stacking-layout
border: clear buffer on fullscreen views
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 3e550927..902a521b 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -555,6 +555,7 @@ void update_geometry(swayc_t *container) {
container->border_geometry = wlc_geometry_zero;
container->title_bar_geometry = wlc_geometry_zero;
+ border_clear(container->border);
} else if (container->is_floating) { // allocate border for floating window
update_border_geometry_floating(container, &geometry);
} else if (!container->is_floating) { // allocate border for titled window