diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index 04b480d8..e178c08a 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -1500,10 +1500,9 @@ void seatop_button(struct sway_seat *seat, uint32_t time_msec, | |||
1500 | } | 1500 | } |
1501 | } | 1501 | } |
1502 | 1502 | ||
1503 | void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec, | 1503 | void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec) { |
1504 | double dx, double dy) { | ||
1505 | if (seat->seatop_impl->pointer_motion) { | 1504 | if (seat->seatop_impl->pointer_motion) { |
1506 | seat->seatop_impl->pointer_motion(seat, time_msec, dx, dy); | 1505 | seat->seatop_impl->pointer_motion(seat, time_msec); |
1507 | } | 1506 | } |
1508 | } | 1507 | } |
1509 | 1508 | ||
@@ -1523,11 +1522,11 @@ void seatop_tablet_tool_tip(struct sway_seat *seat, | |||
1523 | } | 1522 | } |
1524 | 1523 | ||
1525 | void seatop_tablet_tool_motion(struct sway_seat *seat, | 1524 | void seatop_tablet_tool_motion(struct sway_seat *seat, |
1526 | struct sway_tablet_tool *tool, uint32_t time_msec, double dx, double dy) { | 1525 | struct sway_tablet_tool *tool, uint32_t time_msec) { |
1527 | if (seat->seatop_impl->tablet_tool_motion) { | 1526 | if (seat->seatop_impl->tablet_tool_motion) { |
1528 | seat->seatop_impl->tablet_tool_motion(seat, tool, time_msec, dx, dy); | 1527 | seat->seatop_impl->tablet_tool_motion(seat, tool, time_msec); |
1529 | } else { | 1528 | } else { |
1530 | seatop_pointer_motion(seat, time_msec, dx, dy); | 1529 | seatop_pointer_motion(seat, time_msec); |
1531 | } | 1530 | } |
1532 | } | 1531 | } |
1533 | 1532 | ||