mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-17 06:59:43 -05:00
Send axis source event
This commit is contained in:
parent
0b58579564
commit
db84379242
7 changed files with 20 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue