[mutter] context: Init prefs when starting
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] context: Init prefs when starting
- Date: Thu, 15 Jul 2021 12:40:52 +0000 (UTC)
commit 8ace1bf3ea26aac973efd57875fdf72dad4eb149
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Tue Mar 2 11:57:57 2021 +0100
context: Init prefs when starting
Is currently done by meta_start().
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
src/core/meta-context.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/core/meta-context.c b/src/core/meta-context.c
index 2b6ff966a2..5d7dcb8064 100644
--- a/src/core/meta-context.c
+++ b/src/core/meta-context.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]