diff options
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 1 |
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) { | |||
555 | 555 | ||
556 | container->border_geometry = wlc_geometry_zero; | 556 | container->border_geometry = wlc_geometry_zero; |
557 | container->title_bar_geometry = wlc_geometry_zero; | 557 | container->title_bar_geometry = wlc_geometry_zero; |
558 | border_clear(container->border); | ||
558 | } else if (container->is_floating) { // allocate border for floating window | 559 | } else if (container->is_floating) { // allocate border for floating window |
559 | update_border_geometry_floating(container, &geometry); | 560 | update_border_geometry_floating(container, &geometry); |
560 | } else if (!container->is_floating) { // allocate border for titled window | 561 | } else if (!container->is_floating) { // allocate border for titled window |