1 --- ion3.orig/ioncore/rootwin.c
2 +++ ion3/ioncore/rootwin.c
4 static char msg[128], request[64], num[32];
6 /* Just ignore bad window and similar errors; makes the rest of
8 + * the code simpler. Due to a Xorg bug, window lookups may fail
9 + * with BadMatch instead of BadWindow.
11 if((ev->error_code==BadWindow ||
12 - (ev->error_code==BadMatch && ev->request_code==X_SetInputFocus) ||
13 + ev->error_code==BadMatch ||
14 (ev->error_code==BadDrawable && ev->request_code==X_GetGeometry)) &&