diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 96ceea86..ed504bdf 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -100,7 +100,7 @@ static bool get_surface_box(struct surface_iterator_data *data, } struct wlr_box rotated_box; - wlr_box_rotated_bounds(&box, data->rotation, &rotated_box); + wlr_box_rotated_bounds(&rotated_box, &box, data->rotation); struct wlr_box output_box = { .width = output->width, @@ -423,7 +423,7 @@ static void damage_surface_iterator(struct sway_output *output, } if (whole) { - wlr_box_rotated_bounds(&box, rotation, &box); + wlr_box_rotated_bounds(&box, &box, rotation); wlr_output_damage_add_box(output->damage, &box); } |