clutter: Add GESTURES debug flag

This will be used with the next commit, where we introduce a new gesture
tracker for Clutter.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2389>
This commit is contained in:
Jonas Dreßler 2022-04-09 14:29:56 +02:00
parent 05cb4a4443
commit 753156c7f2
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ static const GDebugKey clutter_debug_keys[] = {
{ "detailed-trace", CLUTTER_DEBUG_DETAILED_TRACE }, { "detailed-trace", CLUTTER_DEBUG_DETAILED_TRACE },
{ "grabs", CLUTTER_DEBUG_GRABS }, { "grabs", CLUTTER_DEBUG_GRABS },
{ "frame-clock", CLUTTER_DEBUG_FRAME_CLOCK }, { "frame-clock", CLUTTER_DEBUG_FRAME_CLOCK },
{ "gestures", CLUTTER_DEBUG_GESTURES },
}; };
#endif /* CLUTTER_ENABLE_DEBUG */ #endif /* CLUTTER_ENABLE_DEBUG */

View File

@ -56,6 +56,7 @@ typedef enum
CLUTTER_DEBUG_DETAILED_TRACE = 1 << 18, CLUTTER_DEBUG_DETAILED_TRACE = 1 << 18,
CLUTTER_DEBUG_GRABS = 1 << 19, CLUTTER_DEBUG_GRABS = 1 << 19,
CLUTTER_DEBUG_FRAME_CLOCK = 1 << 20, CLUTTER_DEBUG_FRAME_CLOCK = 1 << 20,
CLUTTER_DEBUG_GESTURES = 1 << 21,
} ClutterDebugFlag; } ClutterDebugFlag;
typedef enum typedef enum