mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
wlr_output: Make wlr_output_transformed_resolution take a state
This commit is contained in:
parent
8fdf888adf
commit
d65a3fceaf
5 changed files with 21 additions and 15 deletions
|
|
@ -1211,7 +1211,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