X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fxerror.c;h=239a8ccbc98b07df9941b50c22edf92f2d3ccb40;hb=373a4584d603a4dc14c64d5f27653c83a1fe686b;hp=586b77c2eb00d17a1897935db1b24776a6a330cf;hpb=ac735b647c9915a40fc3c44a04f7f5f7cacb4278;p=chaz%2Fopenbox 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];