diff options
author | emersion <contact@emersion.fr> | 2018-05-12 13:51:30 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-12 13:53:21 +0100 |
commit | db84379242cea0283d4031be90dd80a34dd5d2df (patch) | |
tree | db00d6d45676489085e7ebace68415be5c0ab50b /include/wlr | |
parent | 0b585795645f608093ae59199a71bf5be6790e3b (diff) |
Send axis source event
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_seat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index ea5d532f..f4840c89 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -61,7 +61,7 @@ struct wlr_pointer_grab_interface { uint32_t button, uint32_t state); void (*axis)(struct wlr_seat_pointer_grab *grab, uint32_t time, enum wlr_axis_orientation orientation, double value, - int32_t value_discrete); + int32_t value_discrete, enum wlr_axis_source source); void (*cancel)(struct wlr_seat_pointer_grab *grab); }; @@ -302,7 +302,7 @@ uint32_t wlr_seat_pointer_send_button(struct wlr_seat *wlr_seat, uint32_t time, **/ void wlr_seat_pointer_send_axis(struct wlr_seat *wlr_seat, uint32_t time, enum wlr_axis_orientation orientation, double value, - int32_t value_discrete); + int32_t value_discrete, enum wlr_axis_source source); /** * Start a grab of the pointer of this seat. The grabber is responsible for @@ -344,7 +344,7 @@ uint32_t wlr_seat_pointer_notify_button(struct wlr_seat *wlr_seat, */ void wlr_seat_pointer_notify_axis(struct wlr_seat *wlr_seat, uint32_t time, enum wlr_axis_orientation orientation, double value, - int32_t value_discrete); + int32_t value_discrete, enum wlr_axis_source source); /** * Whether or not the pointer has a grab other than the default grab. |