Add GTK_DEBUG=accessibility

Add a debug flag for accessibility-related debug spew.
This commit is contained in:
Matthias Clasen 2020-07-17 10:36:20 -04:00 committed by Emmanuele Bassi
parent 0d87f8cd62
commit 01f31665b8
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ typedef enum {
GTK_DEBUG_SNAPSHOT = 1 << 14,
GTK_DEBUG_CONSTRAINTS = 1 << 15,
GTK_DEBUG_BUILDER_OBJECTS = 1 << 16,
GTK_DEBUG_A11Y = 1 << 17,
} GtkDebugFlag;
#ifdef G_ENABLE_DEBUG

View File

@ -182,6 +182,7 @@ static const GdkDebugKey gtk_debug_keys[] = {
{ "interactive", GTK_DEBUG_INTERACTIVE, "Enable the GTK inspector" },
{ "touchscreen", GTK_DEBUG_TOUCHSCREEN, "Pretend the pointer is a touchscreen" },
{ "snapshot", GTK_DEBUG_SNAPSHOT, "Generate debug render nodes" },
{ "accessibility", GTK_DEBUG_A11Y, "Information about accessibility state changes" },
};
#endif /* G_ENABLE_DEBUG */