X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fxerror.c;h=3f112505c953fd267aa4a079ef30bc071ec32e2a;hb=055aa5cd7411c4563956e376523219afc6198ce1;hp=a6066e2f37c74fa59d54f9869e6112be32ebf256;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/openbox/xerror.c b/openbox/xerror.c index a6066e2f..3f112505 100644 --- a/openbox/xerror.c +++ b/openbox/xerror.c @@ -28,16 +28,16 @@ int xerror_handler(Display *d, XErrorEvent *e) xerror_occured = TRUE; #ifdef DEBUG if (!xerror_ignore) { - char errtxt[128]; + char errtxt[128]; - /*if (e->error_code != BadWindow) */ - { - XGetErrorText(d, e->error_code, errtxt, 127); - if (e->error_code == BadWindow) - /*g_warning("X Error: %s", errtxt)*/; - else - g_error("X Error: %s", errtxt); - } + /*if (e->error_code != BadWindow) */ + { + XGetErrorText(d, e->error_code, errtxt, 127); + if (e->error_code == BadWindow) + /*g_warning("X Error: %s", errtxt)*/; + else + g_error("X Error: %s", errtxt); + } } #else (void)d; (void)e;