context: Init prefs when starting
Is currently done by meta_start(). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
parent
02176eab83
commit
8ace1bf3ea
@ -27,6 +27,7 @@
|
|||||||
#include "backends/meta-backend-private.h"
|
#include "backends/meta-backend-private.h"
|
||||||
#include "compositor/meta-plugin-manager.h"
|
#include "compositor/meta-plugin-manager.h"
|
||||||
#include "core/display-private.h"
|
#include "core/display-private.h"
|
||||||
|
#include "core/prefs-private.h"
|
||||||
#include "core/util-private.h"
|
#include "core/util-private.h"
|
||||||
|
|
||||||
#ifdef HAVE_WAYLAND
|
#ifdef HAVE_WAYLAND
|
||||||
@ -146,6 +147,8 @@ meta_context_start (MetaContext *context,
|
|||||||
{
|
{
|
||||||
MetaContextPrivate *priv = meta_context_get_instance_private (context);
|
MetaContextPrivate *priv = meta_context_get_instance_private (context);
|
||||||
|
|
||||||
|
meta_prefs_init ();
|
||||||
|
|
||||||
#ifdef HAVE_WAYLAND
|
#ifdef HAVE_WAYLAND
|
||||||
if (meta_context_get_compositor_type (context) ==
|
if (meta_context_get_compositor_type (context) ==
|
||||||
META_COMPOSITOR_TYPE_WAYLAND)
|
META_COMPOSITOR_TYPE_WAYLAND)
|
||||||
|
Loading…
Reference in New Issue
Block a user