diff --git a/Xi/xiselectev.c b/Xi/xiselectev.c index 3e3ccdc58..85fae2774 100644 --- a/Xi/xiselectev.c +++ b/Xi/xiselectev.c @@ -161,6 +161,11 @@ ProcXISelectEvents(ClientPtr client) return BadValue; rc = dixLookupWindow(&win, stuff->win, client, DixReceiveAccess); + + // when access to the window is denied, just pretend everything's okay + if (rc == BadAccess) + return Success; + if (rc != Success) return rc;