From dcb4214ee670a89ff8de44be65a782f16ec028dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 10 Sep 2024 17:09:15 +0200 Subject: [PATCH] debug: Remove 'group', 'shape' and 'resizing' debug topics They are no longer used. Part-of: --- src/core/util.c | 9 --------- src/meta/meta-debug.h | 36 +++++++++++++++--------------------- 2 files changed, 15 insertions(+), 30 deletions(-) diff --git a/src/core/util.c b/src/core/util.c index 22e298783..93efb30e5 100644 --- a/src/core/util.c +++ b/src/core/util.c @@ -54,9 +54,6 @@ static const GDebugKey meta_debug_keys[] = { { "sync", META_DEBUG_SYNC }, { "startup", META_DEBUG_STARTUP }, { "prefs", META_DEBUG_PREFS }, - { "groups", META_DEBUG_GROUPS }, - { "resizing", META_DEBUG_RESIZING }, - { "shapes", META_DEBUG_SHAPES }, { "edge-resistance", META_DEBUG_EDGE_RESISTANCE }, { "dbus", META_DEBUG_DBUS }, { "input", META_DEBUG_INPUT }, @@ -297,12 +294,6 @@ meta_topic_to_string (MetaDebugTopic topic) return "STARTUP"; case META_DEBUG_PREFS: return "PREFS"; - case META_DEBUG_GROUPS: - return "GROUPS"; - case META_DEBUG_RESIZING: - return "RESIZING"; - case META_DEBUG_SHAPES: - return "SHAPES"; case META_DEBUG_EDGE_RESISTANCE: return "EDGE_RESISTANCE"; case META_DEBUG_DBUS: diff --git a/src/meta/meta-debug.h b/src/meta/meta-debug.h index 41e5051ca..2af3514a5 100644 --- a/src/meta/meta-debug.h +++ b/src/meta/meta-debug.h @@ -37,9 +37,6 @@ * @META_DEBUG_SYNC: sync * @META_DEBUG_STARTUP: startup * @META_DEBUG_PREFS: preferences - * @META_DEBUG_GROUPS: groups - * @META_DEBUG_RESIZING: resizing - * @META_DEBUG_SHAPES: shapes * @META_DEBUG_EDGE_RESISTANCE: edge resistance * @META_DEBUG_WAYLAND: Wayland * @META_DEBUG_KMS: kernel mode setting @@ -71,24 +68,21 @@ typedef enum META_DEBUG_SYNC = 1 << 11, META_DEBUG_STARTUP = 1 << 12, META_DEBUG_PREFS = 1 << 13, - META_DEBUG_GROUPS = 1 << 14, - META_DEBUG_RESIZING = 1 << 15, - META_DEBUG_SHAPES = 1 << 16, - META_DEBUG_EDGE_RESISTANCE = 1 << 17, - META_DEBUG_DBUS = 1 << 18, - META_DEBUG_INPUT = 1 << 19, - META_DEBUG_WAYLAND = 1 << 20, - META_DEBUG_KMS = 1 << 21, - META_DEBUG_SCREEN_CAST = 1 << 22, - META_DEBUG_REMOTE_DESKTOP = 1 << 23, - META_DEBUG_BACKEND = 1 << 24, - META_DEBUG_RENDER = 1 << 25, - META_DEBUG_COLOR = 1 << 26, - META_DEBUG_INPUT_EVENTS = 1 << 27, - META_DEBUG_EIS = 1 << 28, - META_DEBUG_KMS_DEADLINE = 1 << 29, - META_DEBUG_SESSION_MANAGEMENT = 1 << 30, - META_DEBUG_X11 = 1 << 31, + META_DEBUG_EDGE_RESISTANCE = 1 << 14, + META_DEBUG_DBUS = 1 << 15, + META_DEBUG_INPUT = 1 << 16, + META_DEBUG_WAYLAND = 1 << 17, + META_DEBUG_KMS = 1 << 18, + META_DEBUG_SCREEN_CAST = 1 << 19, + META_DEBUG_REMOTE_DESKTOP = 1 << 20, + META_DEBUG_BACKEND = 1 << 21, + META_DEBUG_RENDER = 1 << 22, + META_DEBUG_COLOR = 1 << 23, + META_DEBUG_INPUT_EVENTS = 1 << 24, + META_DEBUG_EIS = 1 << 25, + META_DEBUG_KMS_DEADLINE = 1 << 26, + META_DEBUG_SESSION_MANAGEMENT = 1 << 27, + META_DEBUG_X11 = 1 << 28, } MetaDebugTopic; META_EXPORT