|
|
|
@ -101,7 +101,7 @@ struct wlr_pointer_grab_interface {
|
|
|
|
|
uint32_t button, enum wlr_button_state state);
|
|
|
|
|
void (*axis)(struct wlr_seat_pointer_grab *grab, uint32_t time_msec,
|
|
|
|
|
enum wlr_axis_orientation orientation, double value,
|
|
|
|
|
int32_t value_discrete, enum wlr_axis_source source,
|
|
|
|
|
int32_t value_discrete, enum wl_pointer_axis_source source,
|
|
|
|
|
enum wlr_axis_relative_direction relative_direction);
|
|
|
|
|
void (*frame)(struct wlr_seat_pointer_grab *grab);
|
|
|
|
|
void (*cancel)(struct wlr_seat_pointer_grab *grab);
|
|
|
|
@ -182,7 +182,7 @@ struct wlr_seat_pointer_state {
|
|
|
|
|
struct wlr_seat_pointer_grab *default_grab;
|
|
|
|
|
|
|
|
|
|
bool sent_axis_source;
|
|
|
|
|
enum wlr_axis_source cached_axis_source;
|
|
|
|
|
enum wl_pointer_axis_source cached_axis_source;
|
|
|
|
|
|
|
|
|
|
uint32_t buttons[WLR_POINTER_BUTTONS_CAP];
|
|
|
|
|
size_t button_count;
|
|
|
|
@ -408,7 +408,7 @@ uint32_t wlr_seat_pointer_send_button(struct wlr_seat *wlr_seat,
|
|
|
|
|
*/
|
|
|
|
|
void wlr_seat_pointer_send_axis(struct wlr_seat *wlr_seat, uint32_t time_msec,
|
|
|
|
|
enum wlr_axis_orientation orientation, double value,
|
|
|
|
|
int32_t value_discrete, enum wlr_axis_source source,
|
|
|
|
|
int32_t value_discrete, enum wl_pointer_axis_source source,
|
|
|
|
|
enum wlr_axis_relative_direction relative_direction);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -460,7 +460,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_msec,
|
|
|
|
|
enum wlr_axis_orientation orientation, double value,
|
|
|
|
|
int32_t value_discrete, enum wlr_axis_source source,
|
|
|
|
|
int32_t value_discrete, enum wl_pointer_axis_source source,
|
|
|
|
|
enum wlr_axis_relative_direction relative_direction);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|