wlr_output: Make wlr_output_transformed_resolution take a state

This commit is contained in:
Alexander Orzechowski 2024-08-21 11:11:49 -04:00
parent f59706ecc0
commit c3b5e710f4
5 changed files with 21 additions and 15 deletions

View file

@ -1179,7 +1179,7 @@ static bool drm_connector_move_cursor(struct wlr_output *output,
struct wlr_box box = { .x = x, .y = y };
int width, height;
wlr_output_transformed_resolution(output, &width, &height);
wlr_output_transformed_resolution(output, NULL, &width, &height);
enum wl_output_transform transform =
wlr_output_transform_invert(output->transform);