diff options
-rw-r--r-- | types/wlr_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c index d8a7fa08..9a31fca2 100644 --- a/types/wlr_cursor.c +++ b/types/wlr_cursor.c @@ -332,7 +332,7 @@ static void handle_pointer_motion(struct wl_listener *listener, void *data) { static void apply_output_transform(double *x, double *y, enum wl_output_transform transform) { - double dx, dy; + double dx = *x, dy = *y; double width = 1.0, height = 1.0; switch (transform) { |