diff options
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/layout.c b/sway/layout.c index 3f271caf..180aafa0 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -469,8 +469,8 @@ void update_geometry(swayc_t *container) { | |||
469 | } | 469 | } |
470 | 470 | ||
471 | if (swayc_is_fullscreen(container)) { | 471 | if (swayc_is_fullscreen(container)) { |
472 | container->border_geometry = (const struct wlc_geometry){0}; | 472 | container->border_geometry = wlc_geometry_zero; |
473 | container->title_bar_geometry = (const struct wlc_geometry){0}; | 473 | container->title_bar_geometry = wlc_geometry_zero; |
474 | } else if (container->is_floating) { // allocate border for floating window | 474 | } else if (container->is_floating) { // allocate border for floating window |
475 | update_border_geometry_floating(container, &geometry); | 475 | update_border_geometry_floating(container, &geometry); |
476 | } else if (!container->is_floating) { // allocate border for titled window | 476 | } else if (!container->is_floating) { // allocate border for titled window |