[PATCH] SyncSendAlarmNotifyEvents: check the correct client's clientGone flag.

Jamey Sharp jamey at minilop.net
Sat May 15 12:06:25 PDT 2010


Signed-off-by: Jamey Sharp <jamey at minilop.net>
---
 Xext/sync.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Xext/sync.c b/Xext/sync.c
index 0534728..d46087a 100644
--- a/Xext/sync.c
+++ b/Xext/sync.c
@@ -396,7 +396,7 @@ SyncSendAlarmNotifyEvents(SyncAlarm *pAlarm)
     /* send to other interested clients */
     for (pcl = pAlarm->pEventClients; pcl; pcl = pcl->next)
     {
-	if (!pAlarm->client->clientGone)
+	if (!pcl->client->clientGone)
 	{
 	    ane.sequenceNumber = pcl->client->sequence;
 	    WriteEventsToClient(pcl->client, 1, (xEvent *) &ane);
-- 
1.7.0



More information about the xorg-devel mailing list