mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
wlr_output: Make wlr_output_transformed_resolution take a state
This commit is contained in:
parent
f59706ecc0
commit
c3b5e710f4
5 changed files with 21 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue