aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index c0941b7cbdb..92b245f2b32 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7590,6 +7590,23 @@ x_clear_errors (dpy)
7590 x_error_message->string[0] = 0; 7590 x_error_message->string[0] = 0;
7591} 7591}
7592 7592
7593/* Close off all unclosed x_catch_errors calls. */
7594
7595void
7596x_fully_uncatch_errors ()
7597{
7598 while (x_error_message)
7599 x_uncatch_errors ();
7600}
7601
7602/* Nonzero if x_catch_errors has been done and not yet canceled. */
7603
7604int
7605x_catching_errors ()
7606{
7607 return x_error_message != 0;
7608}
7609
7593#if 0 7610#if 0
7594static unsigned int x_wire_count; 7611static unsigned int x_wire_count;
7595x_trace_wire () 7612x_trace_wire ()