summaryrefslogtreecommitdiffstats
path: root/sway/tree/arrange.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/arrange.c')
-rw-r--r--sway/tree/arrange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/arrange.c b/sway/tree/arrange.c
index 438a2133..8583c53e 100644
--- a/sway/tree/arrange.c
+++ b/sway/tree/arrange.c
@@ -195,8 +195,8 @@ void arrange_workspace(struct sway_workspace *workspace) {
195 double prev_y = workspace->y; 195 double prev_y = workspace->y;
196 workspace->width = area->width; 196 workspace->width = area->width;
197 workspace->height = area->height; 197 workspace->height = area->height;
198 workspace->x = output->wlr_output->lx + area->x; 198 workspace->x = output->lx + area->x;
199 workspace->y = output->wlr_output->ly + area->y; 199 workspace->y = output->ly + area->y;
200 200
201 // Adjust any floating containers 201 // Adjust any floating containers
202 double diff_x = workspace->x - prev_x; 202 double diff_x = workspace->x - prev_x;