mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: fix blurred hw cursors with fractional scaling
The scaling factor was being implicitly cast to an int. Closes: https://github.com/swaywm/sway/issues/4927
This commit is contained in:
parent
d10f8a98ec
commit
5f092c55d1
4 changed files with 4 additions and 4 deletions
|
|
@ -906,7 +906,7 @@ struct wlr_output_mode *wlr_drm_connector_add_mode(struct wlr_output *output,
|
|||
}
|
||||
|
||||
static bool drm_connector_set_cursor(struct wlr_output *output,
|
||||
struct wlr_texture *texture, int32_t scale,
|
||||
struct wlr_texture *texture, float scale,
|
||||
enum wl_output_transform transform,
|
||||
int32_t hotspot_x, int32_t hotspot_y, bool update_texture) {
|
||||
struct wlr_drm_connector *conn = get_drm_connector_from_output(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue