backend: Add getter for MetaScreenCast
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1318
This commit is contained in:
parent
5171e35a97
commit
60c8d227ea
@ -136,6 +136,8 @@ MetaEgl * meta_backend_get_egl (MetaBackend *backend);
|
|||||||
|
|
||||||
#ifdef HAVE_REMOTE_DESKTOP
|
#ifdef HAVE_REMOTE_DESKTOP
|
||||||
MetaRemoteDesktop * meta_backend_get_remote_desktop (MetaBackend *backend);
|
MetaRemoteDesktop * meta_backend_get_remote_desktop (MetaBackend *backend);
|
||||||
|
|
||||||
|
MetaScreenCast * meta_backend_get_screen_cast (MetaBackend *backend);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gboolean meta_backend_grab_device (MetaBackend *backend,
|
gboolean meta_backend_grab_device (MetaBackend *backend,
|
||||||
|
@ -1133,6 +1133,17 @@ meta_backend_get_remote_desktop (MetaBackend *backend)
|
|||||||
|
|
||||||
return priv->remote_desktop;
|
return priv->remote_desktop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* meta_backend_get_screen_cast: (skip)
|
||||||
|
*/
|
||||||
|
MetaScreenCast *
|
||||||
|
meta_backend_get_screen_cast (MetaBackend *backend)
|
||||||
|
{
|
||||||
|
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
|
||||||
|
|
||||||
|
return priv->screen_cast;
|
||||||
|
}
|
||||||
#endif /* HAVE_REMOTE_DESKTOP */
|
#endif /* HAVE_REMOTE_DESKTOP */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user