Make sure client is still around.

This commit is contained in:
David Reveman 2006-08-08 19:21:53 -04:00
parent 2f9c50752c
commit fa2a6bd0ab

View file

@ -143,6 +143,9 @@ CursorDisplayCursor (ScreenPtr pScreen,
CursorCurrent = pCursor;
for (e = cursorEvents; e; e = e->next)
{
if (e->pClient->clientState == ClientStateGone)
continue;
if (e->eventMask & XFixesDisplayCursorNotifyMask)
{
xXFixesCursorNotifyEvent ev;