diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-03-05 12:37:17 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-03-05 12:37:17 +1030 |
commit | 1f0075786fedde538a95e2f39681052e25021d88 (patch) | |
tree | 206a310601d7604aba8d2ab6f25191b6bc076c86 /xfixes | |
parent | 57aa5e908dc11d5d8c27ed705c526f1416c1e8ad (diff) | |
parent | 12175b668a94e23994f724b366a691ec312cce69 (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-x | xfixes/cursor.c | 3 | ||||
-rwxr-xr-x | xfixes/select.c | 4 |
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; |