diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-03-31 07:59:26 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-03-31 07:59:26 -0400 |
commit | 60c599a5a90ec0b43bf95305d94686f8e7473592 (patch) | |
tree | 42c2587db04d2e32c21c6eee996dfac4c7289a69 /sway | |
parent | d94d46fe6969f4c0dfe7031b1a4b987a6cd04a51 (diff) | |
parent | 66e8b4d5de0fed09c48b4fb254ac32b165fddc07 (diff) |
Merge pull request #563 from mikkeloscar/fix-border-reset
Correctly reset border geometry
Diffstat (limited to 'sway')
-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) { } if (swayc_is_fullscreen(container)) { - container->border_geometry = (const struct wlc_geometry){0}; - container->title_bar_geometry = (const struct wlc_geometry){0}; + container->border_geometry = wlc_geometry_zero; + container->title_bar_geometry = wlc_geometry_zero; } 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 |