Merge branch 'fix-missing-listeners' into 'main'

wayland: Add missing listeners

See merge request GNOME/gtk!7331
This commit is contained in:
Matthias Clasen 2024-06-02 20:42:13 +00:00
commit b660fa27d3

View File

@ -3866,9 +3866,25 @@ pointer_surface_leave (void *data,
pointer_surface_update_scale (device);
}
static void
pointer_surface_preferred_buffer_scale (void *data,
struct wl_surface *wl_surface,
int32_t factor)
{
}
static void
pointer_surface_preferred_buffer_transform (void *data,
struct wl_surface *wl_surface,
uint32_t transform)
{
}
static const struct wl_surface_listener pointer_surface_listener = {
pointer_surface_enter,
pointer_surface_leave
pointer_surface_leave,
pointer_surface_preferred_buffer_scale,
pointer_surface_preferred_buffer_transform,
};
static void