mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
util: Add META_DEBUG_WAYLAND debug topic
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1387
This commit is contained in:
parent
0501d3020e
commit
716ecf6cdf
@ -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 },
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -278,6 +278,8 @@ topic_name (MetaDebugTopic topic)
|
||||
return "INPUT";
|
||||
case META_DEBUG_VERBOSE:
|
||||
return "VERBOSE";
|
||||
case META_DEBUG_WAYLAND:
|
||||
return "WAYLAND";
|
||||
}
|
||||
|
||||
return "WM";
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user