core/debug-control: Introspect it to export the dbus service with lg

by executing `global.context.get_debug_control().exported = true`.

This makes it possible to get access to the debug service without having
to start with `--enable-debug`.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3902>
This commit is contained in:
Sebastian Wick
2024-07-24 21:53:42 +02:00
committed by Marge Bot
parent c974bcf4b2
commit 682935fefa
12 changed files with 89 additions and 24 deletions

View File

@ -70,6 +70,7 @@
#include "common/meta-cogl-drm-formats.h"
#include "common/meta-drm-format-helpers.h"
#include "core/boxes-private.h"
#include "core/meta-debug-control-private.h"
#ifdef HAVE_EGL_DEVICE
#include "backends/native/meta-render-device-egl-stream.h"