dont print bad window errors

This commit is contained in:
Dana Jansens 2003-03-26 09:05:58 +00:00
parent cc844c5794
commit ac735b647c

View file

@ -14,7 +14,7 @@ int xerror_handler(Display *d, XErrorEvent *e)
{
XGetErrorText(d, e->error_code, errtxt, 127);
if (e->error_code == BadWindow)
g_warning("X Error: %s", errtxt);
/*g_warning("X Error: %s", errtxt)*/;
else
g_error("X Error: %s", errtxt);
}