mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
pointer: drop enum wlr_axis_source
Instead, use enum wl_pointer_axis_source from the Wayland protocol.
This commit is contained in:
parent
c45e97f3a5
commit
9f4cf242d9
10 changed files with 22 additions and 29 deletions
|
|
@ -72,7 +72,7 @@ void handle_pointer_axis(struct libinput_event *event,
|
|||
struct wlr_pointer *pointer);
|
||||
#if HAVE_LIBINPUT_SCROLL_VALUE120
|
||||
void handle_pointer_axis_value120(struct libinput_event *event,
|
||||
struct wlr_pointer *pointer, enum wlr_axis_source source);
|
||||
struct wlr_pointer *pointer, enum wl_pointer_axis_source source);
|
||||
#endif
|
||||
void handle_pointer_swipe_begin(struct libinput_event *event,
|
||||
struct wlr_pointer *pointer);
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ struct wlr_wl_pointer {
|
|||
struct wlr_wl_seat *seat;
|
||||
struct wlr_wl_output *output;
|
||||
|
||||
enum wlr_axis_source axis_source;
|
||||
enum wl_pointer_axis_source axis_source;
|
||||
int32_t axis_discrete;
|
||||
uint32_t fingers; // trackpad gesture
|
||||
enum wlr_axis_relative_direction axis_relative_direction;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue