summaryrefslogtreecommitdiff
path: root/openbox/xerror.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-29 00:48:52 +0000
committerDana Jansens <danakj@orodu.net>2003-03-29 00:48:52 +0000
commitf154f7b548e1c3ec668d07940905b37a4938bb09 (patch)
tree883b3eb73ba2543a710cf3fb1b14034c21aa5832 /openbox/xerror.c
parent475fb805f2bac50d3c0bb4c35a743b54bd10e650 (diff)
add a var to track errors
Diffstat (limited to 'openbox/xerror.c')
-rw-r--r--openbox/xerror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/xerror.c b/openbox/xerror.c
index 586b77c2..239a8ccb 100644
--- a/openbox/xerror.c
+++ b/openbox/xerror.c
@@ -3,9 +3,11 @@
#include <X11/Xlib.h>
static gboolean xerror_ignore = FALSE;
+gboolean xerror_occured = FALSE;
int xerror_handler(Display *d, XErrorEvent *e)
{
+ xerror_occured = TRUE;
#ifdef DEBUG
if (!xerror_ignore) {
char errtxt[128];