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 438a2133..8583c53e 100644 --- a/sway/tree/arrange.c +++ b/sway/tree/arrange.c @@ -195,8 +195,8 @@ void arrange_workspace(struct sway_workspace *workspace) {  	double prev_y = workspace->y;  	workspace->width = area->width;  	workspace->height = area->height; -	workspace->x = output->wlr_output->lx + area->x; -	workspace->y = output->wlr_output->ly + area->y; +	workspace->x = output->lx + area->x; +	workspace->y = output->ly + area->y;  	// Adjust any floating containers  	double diff_x = workspace->x - prev_x; | 
