util: Add 'remote-desktop' debug topic

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1552>
This commit is contained in:
Jonas Ådahl 2020-10-13 17:41:23 +02:00 committed by Marge Bot
parent b2b66aa8c6
commit 54b024465e
3 changed files with 5 additions and 0 deletions

View File

@ -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 },
};
/*

View File

@ -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:

View File

@ -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;
/**