mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
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 "compositor/meta-plugin-manager.h"
|
||||
#include "core/display-private.h"
|
||||
#include "core/prefs-private.h"
|
||||
#include "core/util-private.h"
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
@ -146,6 +147,8 @@ meta_context_start (MetaContext *context,
|
||||
{
|
||||
MetaContextPrivate *priv = meta_context_get_instance_private (context);
|
||||
|
||||
meta_prefs_init ();
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
if (meta_context_get_compositor_type (context) ==
|
||||
META_COMPOSITOR_TYPE_WAYLAND)
|
||||
|
Loading…
Reference in New Issue
Block a user