summaryrefslogtreecommitdiff
path: root/openbox/xerror.c
diff options
context:
space:
mode:
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];