aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index df54261d..27751c27 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1462,6 +1462,16 @@ void seatop_axis(struct sway_seat *seat, struct wlr_event_pointer_axis *event) {
1462 } 1462 }
1463} 1463}
1464 1464
1465void seatop_tablet_tool_motion(struct sway_seat *seat,
1466 struct sway_tablet *tablet, struct sway_tablet_tool *tool,
1467 uint32_t time_msec, double dx, double dy) {
1468 if (seat->seatop_impl->tablet_tool_motion) {
1469 seat->seatop_impl->tablet_tool_motion(seat, tablet, tool, time_msec, dx, dy);
1470 } else {
1471 seatop_motion(seat, time_msec, dx, dy);
1472 }
1473}
1474
1465void seatop_rebase(struct sway_seat *seat, uint32_t time_msec) { 1475void seatop_rebase(struct sway_seat *seat, uint32_t time_msec) {
1466 if (seat->seatop_impl->rebase) { 1476 if (seat->seatop_impl->rebase) {
1467 seat->seatop_impl->rebase(seat, time_msec); 1477 seat->seatop_impl->rebase(seat, time_msec);