1
0
Fork 0

wayland/seat: Add seat_release interface

Without this calling wl_seat.release would crash Mutter.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1409
This commit is contained in:
Robert Mader 2020-08-17 01:51:20 +02:00
parent 5037b88a2d
commit 59f0aef438

View file

@ -74,10 +74,18 @@ seat_get_touch (struct wl_client *client,
meta_wayland_touch_create_new_resource (touch, client, resource, id);
}
static void
seat_release (struct wl_client *client,
struct wl_resource *resource)
{
wl_resource_destroy (resource);
}
static const struct wl_seat_interface seat_interface = {
seat_get_pointer,
seat_get_keyboard,
seat_get_touch
seat_get_touch,
seat_release
};
static void