aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2020-10-31 17:56:21 -0400
committerSimon Ser <contact@emersion.fr>2020-10-31 23:15:32 +0100
commit8c12e71a66feb1cac545dc8746f817772eb77d2f (patch)
tree27fe7bbb78ac8c9d38762145405830b4f1d6ea6b /include/sway/input
parent96578aa91e9856bfb3e2d26fb7a625ff7c9b79e3 (diff)
input: remove motion deltas from seatop callbacks
Straightforward cleanup, they haven't been used for a while.
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/seat.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 2256fff1..4118df66 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -16,13 +16,12 @@ struct sway_seatop_impl {
void (*button)(struct sway_seat *seat, uint32_t time_msec,
struct wlr_input_device *device, uint32_t button,
enum wlr_button_state state);
- void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec,
- double dx, double dy);
+ void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec);
void (*pointer_axis)(struct sway_seat *seat,
struct wlr_event_pointer_axis *event);
void (*rebase)(struct sway_seat *seat, uint32_t time_msec);
void (*tablet_tool_motion)(struct sway_seat *seat,
- struct sway_tablet_tool *tool, uint32_t time_msec, double dx, double dy);
+ struct sway_tablet_tool *tool, uint32_t time_msec);
void (*tablet_tool_tip)(struct sway_seat *seat, struct sway_tablet_tool *tool,
uint32_t time_msec, enum wlr_tablet_tool_tip_state state);
void (*end)(struct sway_seat *seat);
@@ -269,11 +268,7 @@ void seatop_button(struct sway_seat *seat, uint32_t time_msec,
struct wlr_input_device *device, uint32_t button,
enum wlr_button_state state);
-/**
- * dx and dy are distances relative to previous position.
- */
-void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec,
- double dx, double dy);
+void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec);
void seatop_pointer_axis(struct sway_seat *seat,
struct wlr_event_pointer_axis *event);
@@ -283,7 +278,7 @@ void seatop_tablet_tool_tip(struct sway_seat *seat,
enum wlr_tablet_tool_tip_state state);
void seatop_tablet_tool_motion(struct sway_seat *seat,
- struct sway_tablet_tool *tool, uint32_t time_msec, double dx, double dy);
+ struct sway_tablet_tool *tool, uint32_t time_msec);
void seatop_rebase(struct sway_seat *seat, uint32_t time_msec);