cursor-renderer/native: Fetch instead of pass wl_buffer when realizing
This is the next step in centralizing the cursor sprite hw sprite realization paths. https://gitlab.gnome.org/GNOME/mutter/issues/77
This commit is contained in:
@ -88,6 +88,12 @@ meta_wayland_buffer_from_resource (struct wl_resource *resource)
|
||||
return buffer;
|
||||
}
|
||||
|
||||
struct wl_resource *
|
||||
meta_wayland_buffer_get_resource (MetaWaylandBuffer *buffer)
|
||||
{
|
||||
return buffer->resource;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
meta_wayland_buffer_is_realized (MetaWaylandBuffer *buffer)
|
||||
{
|
||||
|
Reference in New Issue
Block a user