mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Fix cursor transform on DRM backend
This commit is contained in:
parent
00e12278c7
commit
a2391a6047
1 changed files with 1 additions and 2 deletions
|
@ -579,8 +579,7 @@ static bool wlr_drm_connector_set_cursor(struct wlr_output *output,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum wl_output_transform transform =
|
enum wl_output_transform transform = output->transform;
|
||||||
wlr_output_transform_invert(output->transform);
|
|
||||||
wlr_matrix_projection(plane->matrix, plane->surf.width,
|
wlr_matrix_projection(plane->matrix, plane->surf.width,
|
||||||
plane->surf.height, transform);
|
plane->surf.height, transform);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue