[mutter] util: Add 'remote-desktop' debug topic



commit 54b024465e36ab77fdfb14f6421e624b6094bebe
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Tue Oct 13 17:41:23 2020 +0200

    util: Add 'remote-desktop' debug topic
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1552>

 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 859345af0a..4bcfd7a5de 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 2357414936..bbb5a2470b 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 a0c3edd6d8..8e71fb0719 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;
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]