mirror of
https://github.com/brl/mutter.git
synced 2025-03-23 11:43:50 +00:00

The debug controller can optionally, when passing --debug-control, enable manipulating debug state, so far enabling/disabling HDR, via D-Bus. It's always created, in order to have a place to store debug state and emit signals etc when it changes, but so far, it doesn't have its own state it tracks, it just mirrors that of the monitor manager. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3432>
30 lines
1.0 KiB
C
30 lines
1.0 KiB
C
/*
|
|
* Copyright (C) 2023 Red Hat
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "meta-dbus-debug-control.h"
|
|
|
|
#define META_TYPE_DEBUG_CONTROL (meta_debug_control_get_type ())
|
|
G_DECLARE_FINAL_TYPE (MetaDebugControl,
|
|
meta_debug_control,
|
|
META, DEBUG_CONTROL,
|
|
MetaDBusDebugControlSkeleton)
|
|
|
|
void meta_debug_control_export (MetaDebugControl *debug_control);
|