diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-25 15:49:10 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-11-25 15:49:10 -0500 |
commit | a57d46292694e388d74add7b0869bcafdb42b2bd (patch) | |
tree | 74b91247e749c1b67f89bd2271f31762b659545b /sway/tree/layout.c | |
parent | ce1936bc65d01502e3a5f8681bb039cb95e82e0c (diff) |
Fix rendering issues, wire up some xdg listeners
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r-- | sway/tree/layout.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 3d6b404d..6e2586a7 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -129,11 +129,10 @@ void arrange_windows(swayc_t *container, double width, double height) { case C_WORKSPACE: { swayc_t *output = swayc_parent_by_type(container, C_OUTPUT); - width = output->width, height = output->height; + container->width = output->width; + container->height = output->height; container->x = x; container->y = y; - width = container->width; - height = container->height; sway_log(L_DEBUG, "Arranging workspace '%s' at %f, %f", container->name, container->x, container->y); } |