aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_default.c
diff options
context:
space:
mode:
authorLibravatar Tudor Brindus <me@tbrindus.ca>2020-10-31 17:56:21 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2020-10-31 23:15:32 +0100
commit8c12e71a66feb1cac545dc8746f817772eb77d2f (patch)
tree27fe7bbb78ac8c9d38762145405830b4f1d6ea6b /sway/input/seatop_default.c
parenthide_cursor: Add an option to hide when typing (diff)
downloadsway-8c12e71a66feb1cac545dc8746f817772eb77d2f.tar.gz
sway-8c12e71a66feb1cac545dc8746f817772eb77d2f.tar.zst
sway-8c12e71a66feb1cac545dc8746f817772eb77d2f.zip
input: remove motion deltas from seatop callbacks
Straightforward cleanup, they haven't been used for a while.
Diffstat (limited to 'sway/input/seatop_default.c')
-rw-r--r--sway/input/seatop_default.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c
index ae593f5c..2bee389e 100644
--- a/sway/input/seatop_default.c
+++ b/sway/input/seatop_default.c
@@ -557,8 +557,7 @@ static void check_focus_follows_mouse(struct sway_seat *seat,
557 } 557 }
558} 558}
559 559
560static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec, 560static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec) {
561 double dx, double dy) {
562 struct seatop_default_event *e = seat->seatop_data; 561 struct seatop_default_event *e = seat->seatop_data;
563 struct sway_cursor *cursor = seat->cursor; 562 struct sway_cursor *cursor = seat->cursor;
564 563
@@ -592,7 +591,7 @@ static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec,
592} 591}
593 592
594static void handle_tablet_tool_motion(struct sway_seat *seat, 593static void handle_tablet_tool_motion(struct sway_seat *seat,
595 struct sway_tablet_tool *tool, uint32_t time_msec, double dx, double dy) { 594 struct sway_tablet_tool *tool, uint32_t time_msec) {
596 struct seatop_default_event *e = seat->seatop_data; 595 struct seatop_default_event *e = seat->seatop_data;
597 struct sway_cursor *cursor = seat->cursor; 596 struct sway_cursor *cursor = seat->cursor;
598 597