dont print bad window errors
This commit is contained in:
parent
cc844c5794
commit
ac735b647c
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ int xerror_handler(Display *d, XErrorEvent *e)
|
||||||
{
|
{
|
||||||
XGetErrorText(d, e->error_code, errtxt, 127);
|
XGetErrorText(d, e->error_code, errtxt, 127);
|
||||||
if (e->error_code == BadWindow)
|
if (e->error_code == BadWindow)
|
||||||
g_warning("X Error: %s", errtxt);
|
/*g_warning("X Error: %s", errtxt)*/;
|
||||||
else
|
else
|
||||||
g_error("X Error: %s", errtxt);
|
g_error("X Error: %s", errtxt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue