wayland: Fetch wl_output logical monitor via helper
Will be useful when wl_output gets tied to a MetaMonitor, instead of a MetaLogicalMonitor. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1712>
This commit is contained in:
@ -63,6 +63,12 @@ meta_wayland_output_get_resources (MetaWaylandOutput *wayland_output)
|
||||
return wayland_output->resources;
|
||||
}
|
||||
|
||||
MetaLogicalMonitor *
|
||||
meta_wayland_output_get_logical_monitor (MetaWaylandOutput *wayland_output)
|
||||
{
|
||||
return wayland_output->logical_monitor;
|
||||
}
|
||||
|
||||
static void
|
||||
output_resource_destroy (struct wl_resource *res)
|
||||
{
|
||||
|
Reference in New Issue
Block a user