mirror of
https://github.com/swaywm/sway.git
synced 2025-11-29 06:59:46 -05:00
commit
030b5bc024
3 changed files with 8 additions and 6 deletions
|
|
@ -80,7 +80,8 @@ static bool get_surface_box(struct surface_iterator_data *data,
|
|||
int sw = surface->current.width;
|
||||
int sh = surface->current.height;
|
||||
|
||||
double _sx = sx, _sy = sy;
|
||||
double _sx = sx + surface->sx;
|
||||
double _sy = sy + surface->sy;
|
||||
rotate_child_position(&_sx, &_sy, sw, sh, data->width, data->height,
|
||||
data->rotation);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue