aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_resize_floating.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/seatop_resize_floating.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/seatop_resize_floating.c')
-rw-r--r--sway/input/seatop_resize_floating.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input/seatop_resize_floating.c b/sway/input/seatop_resize_floating.c
index 10af06fe..5da22e47 100644
--- a/sway/input/seatop_resize_floating.c
+++ b/sway/input/seatop_resize_floating.c
@@ -31,8 +31,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
31 } 31 }
32} 32}
33 33
34static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec, 34static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec) {
35 double dx, double dy) {
36 struct seatop_resize_floating_event *e = seat->seatop_data; 35 struct seatop_resize_floating_event *e = seat->seatop_data;
37 struct sway_container *con = e->con; 36 struct sway_container *con = e->con;
38 enum wlr_edges edge = e->edge; 37 enum wlr_edges edge = e->edge;