aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.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/cursor.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/cursor.c')
-rw-r--r--sway/input/cursor.c4
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,
359 359
360 wlr_cursor_move(cursor->cursor, device, dx, dy); 360 wlr_cursor_move(cursor->cursor, device, dx, dy);
361 361
362 seatop_pointer_motion(cursor->seat, time_msec, dx, dy); 362 seatop_pointer_motion(cursor->seat, time_msec);
363} 363}
364 364
365static void handle_pointer_motion_relative( 365static void handle_pointer_motion_relative(
@@ -621,7 +621,7 @@ static void handle_tablet_tool_position(struct sway_cursor *cursor,
621 if (!cursor->simulating_pointer_from_tool_tip && 621 if (!cursor->simulating_pointer_from_tool_tip &&
622 ((surface && wlr_surface_accepts_tablet_v2(tablet->tablet_v2, surface)) || 622 ((surface && wlr_surface_accepts_tablet_v2(tablet->tablet_v2, surface)) ||
623 wlr_tablet_tool_v2_has_implicit_grab(tool->tablet_v2_tool))) { 623 wlr_tablet_tool_v2_has_implicit_grab(tool->tablet_v2_tool))) {
624 seatop_tablet_tool_motion(seat, tool, time_msec, dx, dy); 624 seatop_tablet_tool_motion(seat, tool, time_msec);
625 } else { 625 } else {
626 wlr_tablet_v2_tablet_tool_notify_proximity_out(tool->tablet_v2_tool); 626 wlr_tablet_v2_tablet_tool_notify_proximity_out(tool->tablet_v2_tool);
627 pointer_motion(cursor, time_msec, input_device->wlr_device, dx, dy, dx, dy); 627 pointer_motion(cursor, time_msec, input_device->wlr_device, dx, dy, dx, dy);