wayland: Update to 1.22.0
This commit is contained in:
@ -502,6 +502,8 @@ private:
|
||||
|
||||
static void _wl_surface_on_enter(void *data, struct wl_surface *wl_surface, struct wl_output *wl_output);
|
||||
static void _wl_surface_on_leave(void *data, struct wl_surface *wl_surface, struct wl_output *wl_output);
|
||||
static void _wl_surface_on_preferred_buffer_scale(void *data, struct wl_surface *wl_surface, int32_t factor);
|
||||
static void _wl_surface_on_preferred_buffer_transform(void *data, struct wl_surface *wl_surface, uint32_t transform);
|
||||
|
||||
static void _frame_wl_callback_on_done(void *data, struct wl_callback *wl_callback, uint32_t callback_data);
|
||||
|
||||
@ -527,6 +529,7 @@ private:
|
||||
static void _wl_pointer_on_axis_stop(void *data, struct wl_pointer *wl_pointer, uint32_t time, uint32_t axis);
|
||||
static void _wl_pointer_on_axis_discrete(void *data, struct wl_pointer *wl_pointer, uint32_t axis, int32_t discrete);
|
||||
static void _wl_pointer_on_axis_value120(void *data, struct wl_pointer *wl_pointer, uint32_t axis, int32_t value120);
|
||||
static void _wl_pointer_on_axis_relative_direction(void *data, struct wl_pointer *wl_pointer, uint32_t axis, uint32_t direction);
|
||||
|
||||
static void _wl_keyboard_on_keymap(void *data, struct wl_keyboard *wl_keyboard, uint32_t format, int32_t fd, uint32_t size);
|
||||
static void _wl_keyboard_on_enter(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, struct wl_surface *surface, struct wl_array *keys);
|
||||
@ -619,6 +622,8 @@ private:
|
||||
static constexpr struct wl_surface_listener wl_surface_listener = {
|
||||
.enter = _wl_surface_on_enter,
|
||||
.leave = _wl_surface_on_leave,
|
||||
.preferred_buffer_scale = _wl_surface_on_preferred_buffer_scale,
|
||||
.preferred_buffer_transform = _wl_surface_on_preferred_buffer_transform,
|
||||
};
|
||||
|
||||
static constexpr struct wl_callback_listener frame_wl_callback_listener {
|
||||
@ -654,6 +659,7 @@ private:
|
||||
.axis_stop = _wl_pointer_on_axis_stop,
|
||||
.axis_discrete = _wl_pointer_on_axis_discrete,
|
||||
.axis_value120 = _wl_pointer_on_axis_value120,
|
||||
.axis_relative_direction = _wl_pointer_on_axis_relative_direction,
|
||||
};
|
||||
|
||||
static constexpr struct wl_keyboard_listener wl_keyboard_listener = {
|
||||
|
||||
Reference in New Issue
Block a user