backends/stage: Pass ClutterFrame to MetaStageWatchFunc

We'll need to access the timestamp of the frame later on, so pass
it to stage watchers.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2804>
This commit is contained in:
Georges Basile Stavracas Neto
2023-01-24 11:59:17 -03:00
committed by Robert Mader
parent 81c9c43d26
commit b47d96b862
6 changed files with 15 additions and 5 deletions

View File

@ -186,6 +186,7 @@ static void
actors_painted (MetaStage *stage,
ClutterStageView *view,
ClutterPaintContext *paint_context,
ClutterFrame *frame,
gpointer user_data)
{
MetaScreenCastStreamSrc *src = META_SCREEN_CAST_STREAM_SRC (user_data);