aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_move_floating.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seatop_move_floating.c')
-rw-r--r--sway/input/seatop_move_floating.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seatop_move_floating.c b/sway/input/seatop_move_floating.c
index 672e2d69..a04fd457 100644
--- a/sway/input/seatop_move_floating.c
+++ b/sway/input/seatop_move_floating.c
@@ -23,7 +23,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
23 } 23 }
24} 24}
25 25
26static void handle_motion(struct sway_seat *seat, uint32_t time_msec, 26static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec,
27 double dx, double dy) { 27 double dx, double dy) {
28 struct seatop_move_floating_event *e = seat->seatop_data; 28 struct seatop_move_floating_event *e = seat->seatop_data;
29 struct wlr_cursor *cursor = seat->cursor->cursor; 29 struct wlr_cursor *cursor = seat->cursor->cursor;
@@ -41,7 +41,7 @@ static void handle_unref(struct sway_seat *seat, struct sway_container *con) {
41 41
42static const struct sway_seatop_impl seatop_impl = { 42static const struct sway_seatop_impl seatop_impl = {
43 .button = handle_button, 43 .button = handle_button,
44 .motion = handle_motion, 44 .pointer_motion = handle_pointer_motion,
45 .unref = handle_unref, 45 .unref = handle_unref,
46}; 46};
47 47