Index: cursor.c =================================================================== RCS file: /cvs/xserver/xserver/xfixes/cursor.c,v retrieving revision 1.5 diff -u -r1.5 cursor.c --- cursor.c 2 Nov 2003 19:56:11 -0000 1.5 +++ cursor.c 1 Nov 2004 18:31:49 -0000 @@ -95,7 +95,8 @@ CursorCurrent = pCursor; for (e = cursorEvents; e; e = e->next) { - if (e->eventMask & XFixesDisplayCursorNotifyMask) + if (e->eventMask & XFixesDisplayCursorNotifyMask && + !e->pClient->clientGone) { xXFixesCursorNotifyEvent ev; ev.type = XFixesEventBase + XFixesCursorNotify; Index: select.c =================================================================== RCS file: /cvs/xserver/xserver/xfixes/select.c,v retrieving revision 1.4 diff -u -r1.4 select.c --- select.c 9 Oct 2003 01:52:14 -0000 1.4 +++ select.c 1 Nov 2004 18:31:49 -0000 @@ -77,7 +77,8 @@ } for (e = selectionEvents; e; e = e->next) { - if (e->selection == selection->selection && (e->eventMask & eventMask)) + if (e->selection == selection->selection && (e->eventMask & eventMask) + && !e->pClient->clientGone) { xXFixesSelectionNotifyEvent ev;