aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c2
-rw-r--r--backend/wayland/output.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 55760015..01da2d2c 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -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);
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index 07c5ec8d..a6ec7439 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -309,7 +309,7 @@ static void output_rollback(struct wlr_output *wlr_output) {
}
static bool output_set_cursor(struct wlr_output *wlr_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_wl_output *output = get_wl_output_from_output(wlr_output);