aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c
index 7c82c20d..fb267402 100644
--- a/types/wlr_cursor.c
+++ b/types/wlr_cursor.c
@@ -389,8 +389,8 @@ static void output_cursor_output_commit_surface(
assert(output_cursor->surface != NULL);
struct wlr_texture *texture = wlr_surface_get_texture(surface);
- int32_t hotspot_x = output_cursor->surface_hotspot.x * output->scale;
- int32_t hotspot_y = output_cursor->surface_hotspot.y * output->scale;
+ int32_t hotspot_x = output_cursor->surface_hotspot.x;
+ int32_t hotspot_y = output_cursor->surface_hotspot.y;
output_cursor_set_texture(output_cursor->output_cursor, texture, false,
surface->current.scale, surface->current.transform,