diff options
Diffstat (limited to 'sway/tree/arrange.c')
-rw-r--r-- | sway/tree/arrange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/arrange.c b/sway/tree/arrange.c index da4f7889..721b557e 100644 --- a/sway/tree/arrange.c +++ b/sway/tree/arrange.c | |||
@@ -73,8 +73,8 @@ void arrange_workspace(struct sway_container *workspace) { | |||
73 | area->width, area->height, area->x, area->y); | 73 | area->width, area->height, area->x, area->y); |
74 | workspace->width = area->width; | 74 | workspace->width = area->width; |
75 | workspace->height = area->height; | 75 | workspace->height = area->height; |
76 | workspace->x = area->x; | 76 | workspace->x = output->x + area->x; |
77 | workspace->y = area->y; | 77 | workspace->y = output->y + area->y; |
78 | wlr_log(L_DEBUG, "Arranging workspace '%s' at %f, %f", | 78 | wlr_log(L_DEBUG, "Arranging workspace '%s' at %f, %f", |
79 | workspace->name, workspace->x, workspace->y); | 79 | workspace->name, workspace->x, workspace->y); |
80 | arrange_children_of(workspace); | 80 | arrange_children_of(workspace); |