clutter/context: Create a StageManager when constructed

Instead of delegating that to StageManager.get_default and add a private getter
for it.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3962>
This commit is contained in:
Bilal Elmoussaoui
2024-08-20 16:56:46 +02:00
committed by Marge Bot
parent 914787294f
commit 0d93f805d4
9 changed files with 27 additions and 32 deletions

View File

@ -20,6 +20,7 @@
#pragma once
#include "clutter/clutter-context.h"
#include "clutter-stage-manager-private.h"
struct _ClutterContext
{
@ -45,3 +46,5 @@ struct _ClutterContext
gboolean show_fps;
};
ClutterStageManager * clutter_context_get_stage_manager (ClutterContext *context);