aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-02 14:23:01 -0400
committerGitHub <noreply@github.com>2018-04-02 14:23:01 -0400
commit4134407fa967c7f45cd09554b74a15f28974fca5 (patch)
treea1a6122d927b95b29375af7dbf6adccd8cb4e71f /sway/tree/layout.c
parent2a8985a3451f8be7e4b1eb21e3266e9f5b979b39 (diff)
parentef50d84be1180a7ddd73e1273ebb77503b3f36c4 (diff)
Merge pull request #1690 from swaywm/i3bar-json
I3bar json
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index a8941a40..de210752 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -274,8 +274,8 @@ void arrange_windows(struct sway_container *container,
struct wlr_box *area = &output->sway_output->usable_area;
wlr_log(L_DEBUG, "Usable area for ws: %dx%d@%d,%d",
area->width, area->height, area->x, area->y);
- container->width = area->width;
- container->height = area->height;
+ container->width = width = area->width;
+ container->height = height = area->height;
container->x = x = area->x;
container->y = y = area->y;
wlr_log(L_DEBUG, "Arranging workspace '%s' at %f, %f",