From 753156c7f26daa9483013190c6a1c25b61e5bb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Sat, 9 Apr 2022 14:29:56 +0200 Subject: [PATCH] clutter: Add GESTURES debug flag This will be used with the next commit, where we introduce a new gesture tracker for Clutter. Part-of: --- clutter/clutter/clutter-context.c | 1 + clutter/clutter/clutter-main.h | 1 + 2 files changed, 2 insertions(+) diff --git a/clutter/clutter/clutter-context.c b/clutter/clutter/clutter-context.c index 4fb4f0ff3..1108bf630 100644 --- a/clutter/clutter/clutter-context.c +++ b/clutter/clutter/clutter-context.c @@ -54,6 +54,7 @@ static const GDebugKey clutter_debug_keys[] = { { "detailed-trace", CLUTTER_DEBUG_DETAILED_TRACE }, { "grabs", CLUTTER_DEBUG_GRABS }, { "frame-clock", CLUTTER_DEBUG_FRAME_CLOCK }, + { "gestures", CLUTTER_DEBUG_GESTURES }, }; #endif /* CLUTTER_ENABLE_DEBUG */ diff --git a/clutter/clutter/clutter-main.h b/clutter/clutter/clutter-main.h index 8b84b1819..dc2b07f26 100644 --- a/clutter/clutter/clutter-main.h +++ b/clutter/clutter/clutter-main.h @@ -56,6 +56,7 @@ typedef enum CLUTTER_DEBUG_DETAILED_TRACE = 1 << 18, CLUTTER_DEBUG_GRABS = 1 << 19, CLUTTER_DEBUG_FRAME_CLOCK = 1 << 20, + CLUTTER_DEBUG_GESTURES = 1 << 21, } ClutterDebugFlag; typedef enum