diff options
author | Tudor Brindus <[email protected]> | 2020-10-31 17:56:21 -0400 |
---|---|---|
committer | Simon Ser <[email protected]> | 2020-10-31 23:15:32 +0100 |
commit | 8c12e71a66feb1cac545dc8746f817772eb77d2f (patch) | |
tree | 27fe7bbb78ac8c9d38762145405830b4f1d6ea6b /sway/input/cursor.c | |
parent | 96578aa91e9856bfb3e2d26fb7a625ff7c9b79e3 (diff) |
input: remove motion deltas from seatop callbacks
Straightforward cleanup, they haven't been used for a while.
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index b168afc5..9ad4900b 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -359,7 +359,7 @@ static void pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, wlr_cursor_move(cursor->cursor, device, dx, dy); - seatop_pointer_motion(cursor->seat, time_msec, dx, dy); + seatop_pointer_motion(cursor->seat, time_msec); } static void handle_pointer_motion_relative( @@ -621,7 +621,7 @@ static void handle_tablet_tool_position(struct sway_cursor *cursor, if (!cursor->simulating_pointer_from_tool_tip && ((surface && wlr_surface_accepts_tablet_v2(tablet->tablet_v2, surface)) || wlr_tablet_tool_v2_has_implicit_grab(tool->tablet_v2_tool))) { - seatop_tablet_tool_motion(seat, tool, time_msec, dx, dy); + seatop_tablet_tool_motion(seat, tool, time_msec); } else { wlr_tablet_v2_tablet_tool_notify_proximity_out(tool->tablet_v2_tool); pointer_motion(cursor, time_msec, input_device->wlr_device, dx, dy, dx, dy); |