aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 6d4f5342..ab8fd7e8 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -99,8 +99,8 @@ static bool get_surface_box(struct surface_iterator_data *data,
99 int sw = surface->current.width; 99 int sw = surface->current.width;
100 int sh = surface->current.height; 100 int sh = surface->current.height;
101 101
102 double _sx = sx + surface->sx; 102 double _sx = sx;
103 double _sy = sy + surface->sy; 103 double _sy = sy;
104 rotate_child_position(&_sx, &_sy, sw, sh, data->width, data->height, 104 rotate_child_position(&_sx, &_sy, sw, sh, data->width, data->height,
105 data->rotation); 105 data->rotation);
106 106