diff options
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/layout.c b/sway/layout.c index eb8391ce..e628c5ed 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -152,12 +152,12 @@ void arrange_windows(swayc_t *container, int width, int height) { { struct wlc_geometry geometry = { .origin = { - .x = container->x + container->gaps, - .y = container->y + container->gaps + .x = container->x + container->gaps / 2, + .y = container->y + container->gaps / 2 }, .size = { - .w = width - container->gaps * 2, - .h = height - container->gaps * 2 + .w = width - container->gaps, + .h = height - container->gaps } }; if (wlc_view_get_state(container->handle) & WLC_BIT_FULLSCREEN) { |