aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-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 {
16 void (*button)(struct sway_seat *seat, uint32_t time_msec, 16 void (*button)(struct sway_seat *seat, uint32_t time_msec,
17 struct wlr_input_device *device, uint32_t button, 17 struct wlr_input_device *device, uint32_t button,
18 enum wlr_button_state state); 18 enum wlr_button_state state);
19 void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec, 19 void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec);
20 double dx, double dy);
21 void (*pointer_axis)(struct sway_seat *seat, 20 void (*pointer_axis)(struct sway_seat *seat,
22 struct wlr_event_pointer_axis *event); 21 struct wlr_event_pointer_axis *event);
23 void (*rebase)(struct sway_seat *seat, uint32_t time_msec); 22 void (*rebase)(struct sway_seat *seat, uint32_t time_msec);
24 void (*tablet_tool_motion)(struct sway_seat *seat, 23 void (*tablet_tool_motion)(struct sway_seat *seat,
25 struct sway_tablet_tool *tool, uint32_t time_msec, double dx, double dy); 24 struct sway_tablet_tool *tool, uint32_t time_msec);
26 void (*tablet_tool_tip)(struct sway_seat *seat, struct sway_tablet_tool *tool, 25 void (*tablet_tool_tip)(struct sway_seat *seat, struct sway_tablet_tool *tool,
27 uint32_t time_msec, enum wlr_tablet_tool_tip_state state); 26 uint32_t time_msec, enum wlr_tablet_tool_tip_state state);
28 void (*end)(struct sway_seat *seat); 27 void (*end)(struct sway_seat *seat);
@@ -269,11 +268,7 @@ void seatop_button(struct sway_seat *seat, uint32_t time_msec,
269 struct wlr_input_device *device, uint32_t button, 268 struct wlr_input_device *device, uint32_t button,
270 enum wlr_button_state state); 269 enum wlr_button_state state);
271 270
272/** 271void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec);
273 * dx and dy are distances relative to previous position.
274 */
275void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec,
276 double dx, double dy);
277 272
278void seatop_pointer_axis(struct sway_seat *seat, 273void seatop_pointer_axis(struct sway_seat *seat,
279 struct wlr_event_pointer_axis *event); 274 struct wlr_event_pointer_axis *event);
@@ -283,7 +278,7 @@ void seatop_tablet_tool_tip(struct sway_seat *seat,
283 enum wlr_tablet_tool_tip_state state); 278 enum wlr_tablet_tool_tip_state state);
284 279
285void seatop_tablet_tool_motion(struct sway_seat *seat, 280void seatop_tablet_tool_motion(struct sway_seat *seat,
286 struct sway_tablet_tool *tool, uint32_t time_msec, double dx, double dy); 281 struct sway_tablet_tool *tool, uint32_t time_msec);
287 282
288void seatop_rebase(struct sway_seat *seat, uint32_t time_msec); 283void seatop_rebase(struct sway_seat *seat, uint32_t time_msec);
289 284