From f154f7b548e1c3ec668d07940905b37a4938bb09 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 29 Mar 2003 00:48:52 +0000 Subject: add a var to track errors --- openbox/xerror.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/xerror.c') 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 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]; -- cgit v1.2.3