util: Add META_DEBUG_WAYLAND debug topic

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1387
This commit is contained in:
Daniel van Vugt 2020-10-15 15:56:59 +08:00 committed by Jonas Ådahl
parent 0501d3020e
commit 716ecf6cdf
3 changed files with 5 additions and 0 deletions

View File

@ -119,6 +119,7 @@ static const GDebugKey meta_debug_keys[] = {
{ "edge-resistance", META_DEBUG_EDGE_RESISTANCE },
{ "dbus", META_DEBUG_DBUS },
{ "input", META_DEBUG_INPUT },
{ "wayland", META_DEBUG_WAYLAND },
};
/*

View File

@ -278,6 +278,8 @@ topic_name (MetaDebugTopic topic)
return "INPUT";
case META_DEBUG_VERBOSE:
return "VERBOSE";
case META_DEBUG_WAYLAND:
return "WAYLAND";
}
return "WM";

View File

@ -75,6 +75,7 @@ void meta_fatal (const char *format,
* @META_DEBUG_RESIZING: resizing
* @META_DEBUG_SHAPES: shapes
* @META_DEBUG_EDGE_RESISTANCE: edge resistance
* @META_DEBUG_WAYLAND: Wayland
*/
typedef enum
{
@ -99,6 +100,7 @@ typedef enum
META_DEBUG_EDGE_RESISTANCE = 1 << 17,
META_DEBUG_DBUS = 1 << 18,
META_DEBUG_INPUT = 1 << 19,
META_DEBUG_WAYLAND = 1 << 20,
} MetaDebugTopic;
/**