On 20/02/15 10:47, Olivier Fourdan wrote: [...] > + cs = GetCompScreen(screen); > + if (cs->pOverlayWin && cs->pOverlayWin->mapped) { Although GetCompScreen() is actually a macro which calls dixLookupPrivate() so maybe not a good idea to do that for every every pointer event. Cheers, Olivier