drop error about killing client already killed
This commit is contained in:
parent
a4d4fedfac
commit
2eeeeaf7e4
|
@ -182,7 +182,8 @@ static int
|
||||||
xerror(Display *edpy, XErrorEvent *ee)
|
xerror(Display *edpy, XErrorEvent *ee)
|
||||||
{
|
{
|
||||||
if(ee->error_code == BadWindow
|
if(ee->error_code == BadWindow
|
||||||
|| (ee->error_code == BadMatch && ee->request_code == X_SetInputFocus))
|
|| (ee->error_code == BadMatch && ee->request_code == X_SetInputFocus)
|
||||||
|
|| (ee->error_code == BadValue && ee->request_code == X_KillClient))
|
||||||
return 0;
|
return 0;
|
||||||
warn("fatal error: request code=%d, error code=%d\n", ee->request_code, ee->error_code);
|
warn("fatal error: request code=%d, error code=%d\n", ee->request_code, ee->error_code);
|
||||||
return xerrorxlib(edpy, ee); /* may call exit */
|
return xerrorxlib(edpy, ee); /* may call exit */
|
||||||
|
|
Loading…
Reference in New Issue