mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
screen-cast-stream: Add getter for stream src
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1691>
This commit is contained in:
parent
d1c62d882a
commit
9f6a441665
@ -168,6 +168,15 @@ meta_screen_cast_stream_get_object_path (MetaScreenCastStream *stream)
|
||||
return priv->object_path;
|
||||
}
|
||||
|
||||
MetaScreenCastStreamSrc *
|
||||
meta_screen_cast_stream_get_src (MetaScreenCastStream *stream)
|
||||
{
|
||||
MetaScreenCastStreamPrivate *priv =
|
||||
meta_screen_cast_stream_get_instance_private (stream);
|
||||
|
||||
return priv->src;
|
||||
}
|
||||
|
||||
void
|
||||
meta_screen_cast_stream_transform_position (MetaScreenCastStream *stream,
|
||||
double stream_x,
|
||||
|
@ -59,6 +59,8 @@ void meta_screen_cast_stream_close (MetaScreenCastStream *stream);
|
||||
|
||||
char * meta_screen_cast_stream_get_object_path (MetaScreenCastStream *stream);
|
||||
|
||||
MetaScreenCastStreamSrc * meta_screen_cast_stream_get_src (MetaScreenCastStream *stream);
|
||||
|
||||
void meta_screen_cast_stream_transform_position (MetaScreenCastStream *stream,
|
||||
double stream_x,
|
||||
double stream_y,
|
||||
|
Loading…
Reference in New Issue
Block a user