--- xc/lib/X11/FilterEv.c.orig Thu Feb 1 18:46:04 2001 +++ xc/lib/X11/FilterEv.c Thu Feb 1 18:46:33 2001 @@ -88,9 +88,9 @@ if (win == p->window) { if ((mask & p->event_mask) || (ev->type >= p->start_type && ev->type <= p->end_type)) { + UnlockDisplay(ev->xany.display); ret = (*(p->filter))(ev->xany.display, p->window, ev, p->client_data); - UnlockDisplay(ev->xany.display); return(ret); } }