From fa2a6bd0ab990a236b7edb5d315cb8f1290dad0f Mon Sep 17 00:00:00 2001 From: David Reveman Date: Tue, 8 Aug 2006 19:21:53 -0400 Subject: [PATCH] Make sure client is still around. --- xfixes/cursor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xfixes/cursor.c b/xfixes/cursor.c index c75e74442..0cb531527 100755 --- a/xfixes/cursor.c +++ b/xfixes/cursor.c @@ -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;