From 54b024465e36ab77fdfb14f6421e624b6094bebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 13 Oct 2020 17:41:23 +0200 Subject: [PATCH] util: Add 'remote-desktop' debug topic Part-of: --- src/core/main.c | 1 + src/core/util.c | 2 ++ src/meta/util.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/core/main.c b/src/core/main.c index 859345af0..4bcfd7a5d 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -122,6 +122,7 @@ static const GDebugKey meta_debug_keys[] = { { "wayland", META_DEBUG_WAYLAND }, { "kms", META_DEBUG_KMS }, { "screen-cast", META_DEBUG_SCREEN_CAST }, + { "remote-desktop", META_DEBUG_REMOTE_DESKTOP }, }; /* diff --git a/src/core/util.c b/src/core/util.c index 235741493..bbb5a2470 100644 --- a/src/core/util.c +++ b/src/core/util.c @@ -280,6 +280,8 @@ topic_name (MetaDebugTopic topic) return "KMS"; case META_DEBUG_SCREEN_CAST: return "SCREEN_CAST"; + case META_DEBUG_REMOTE_DESKTOP: + return "REMOTE_DESKTOP"; case META_DEBUG_VERBOSE: return "VERBOSE"; case META_DEBUG_WAYLAND: diff --git a/src/meta/util.h b/src/meta/util.h index a0c3edd6d..8e71fb071 100644 --- a/src/meta/util.h +++ b/src/meta/util.h @@ -78,6 +78,7 @@ void meta_fatal (const char *format, * @META_DEBUG_WAYLAND: Wayland * @META_DEBUG_KMS: kernel mode setting * @META_DEBUG_SCREEN_CAST: screencasting + * @META_DEBUG_REMOTE_DESKTOP: remote desktop */ typedef enum { @@ -105,6 +106,7 @@ typedef enum META_DEBUG_WAYLAND = 1 << 20, META_DEBUG_KMS = 1 << 21, META_DEBUG_SCREEN_CAST = 1 << 22, + META_DEBUG_REMOTE_DESKTOP = 1 << 23, } MetaDebugTopic; /**