diff options
author | Tudor Brindus <me@tbrindus.ca> | 2020-10-31 17:56:21 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-10-31 23:15:32 +0100 |
commit | 8c12e71a66feb1cac545dc8746f817772eb77d2f (patch) | |
tree | 27fe7bbb78ac8c9d38762145405830b4f1d6ea6b /sway/input/seatop_move_tiling.c | |
parent | hide_cursor: Add an option to hide when typing (diff) | |
download | sway-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_move_tiling.c')
-rw-r--r-- | sway/input/seatop_move_tiling.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c index 2d3abc9a..c7285bec 100644 --- a/sway/input/seatop_move_tiling.c +++ b/sway/input/seatop_move_tiling.c | |||
@@ -207,8 +207,7 @@ static void handle_motion_postthreshold(struct sway_seat *seat) { | |||
207 | desktop_damage_box(&e->drop_box); | 207 | desktop_damage_box(&e->drop_box); |
208 | } | 208 | } |
209 | 209 | ||
210 | static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec, | 210 | static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec) { |
211 | double dx, double dy) { | ||
212 | struct seatop_move_tiling_event *e = seat->seatop_data; | 211 | struct seatop_move_tiling_event *e = seat->seatop_data; |
213 | if (e->threshold_reached) { | 212 | if (e->threshold_reached) { |
214 | handle_motion_postthreshold(seat); | 213 | handle_motion_postthreshold(seat); |