[mutter] util: Add META_DEBUG_WAYLAND debug topic
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] util: Add META_DEBUG_WAYLAND debug topic
- Date: Tue, 20 Oct 2020 10:06:38 +0000 (UTC)
commit 716ecf6cdf78c85f3029353ac4e8ac62b22636b6
Author: Daniel van Vugt <daniel van vugt canonical com>
Date: Thu Oct 15 15:56:59 2020 +0800
util: Add META_DEBUG_WAYLAND debug topic
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1387
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 0891141516..db1805ea61 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -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 },
};
/*
diff --git a/src/core/util.c b/src/core/util.c
index 0c9a31d824..1a77927d18 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -278,6 +278,8 @@ topic_name (MetaDebugTopic topic)
return "INPUT";
case META_DEBUG_VERBOSE:
return "VERBOSE";
+ case META_DEBUG_WAYLAND:
+ return "WAYLAND";
}
return "WM";
diff --git a/src/meta/util.h b/src/meta/util.h
index 5fddf08734..1bf80d8684 100644
--- a/src/meta/util.h
+++ b/src/meta/util.h
@@ -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;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]