summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-03-05 12:37:17 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-03-05 12:37:17 +1030
commit1f0075786fedde538a95e2f39681052e25021d88 (patch)
tree206a310601d7604aba8d2ab6f25191b6bc076c86 /xfixes
parent57aa5e908dc11d5d8c27ed705c526f1416c1e8ad (diff)
parent12175b668a94e23994f724b366a691ec312cce69 (diff)
Merge branch 'master' into mpx
Conflicts: configure.ac dix/getevents.c hw/xfree86/ramdac/xf86Cursor.c mi/mipointer.c xkb/xkbUtils.c
Diffstat (limited to 'xfixes')
-rwxr-xr-xxfixes/cursor.c3
-rwxr-xr-xxfixes/select.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/xfixes/cursor.c b/xfixes/cursor.c
index 36fef60e3..2b357066b 100755
--- a/xfixes/cursor.c
+++ b/xfixes/cursor.c
@@ -144,7 +144,8 @@ CursorDisplayCursor (DeviceIntPtr pDev,
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;
diff --git a/xfixes/select.c b/xfixes/select.c
index d1c22c552..f0a9f2f4f 100755
--- a/xfixes/select.c
+++ b/xfixes/select.c
@@ -78,7 +78,9 @@ XFixesSelectionCallback (CallbackListPtr *callbacks, pointer data, pointer args)
}
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;