mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 23:46:33 -05:00
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
|
||||
MetaRemoteDesktop * meta_backend_get_remote_desktop (MetaBackend *backend);
|
||||
|
||||
MetaScreenCast * meta_backend_get_screen_cast (MetaBackend *backend);
|
||||
#endif
|
||||
|
||||
gboolean meta_backend_grab_device (MetaBackend *backend,
|
||||
|
@ -1133,6 +1133,17 @@ meta_backend_get_remote_desktop (MetaBackend *backend)
|
||||
|
||||
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 */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user