summaryrefslogtreecommitdiff
path: root/openbox/debug.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2011-10-06 10:03:52 -0400
committerDana Jansens <danakj@orodu.net>2011-10-06 12:01:30 -0400
commit303cbe76dc2dc273cd7e68a5eaf96c2af3b5d7ab (patch)
treecceb0953d299e07fb76e6ba23aea9aa151fa84f3 /openbox/debug.h
parenta23954ec17c17259f75e0f4e647975bbf4ede058 (diff)
Don't show prompts inside the message handler to prevent recursion
Showing prompts causes messages to be created which causes the glib message handler to abort(). Save the messages and show them when done all other processing for the current event.
Diffstat (limited to 'openbox/debug.h')
-rw-r--r--openbox/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/debug.h b/openbox/debug.h
index a24e66ea..13c55988 100644
--- a/openbox/debug.h
+++ b/openbox/debug.h
@@ -38,4 +38,6 @@ void ob_debug_type(ObDebugType type, const gchar *a, ...);
void ob_debug_enable(ObDebugType type, gboolean enable);
+void ob_debug_show_prompts(void);
+
#endif