SyncSendAlarmNotifyEvents: check the correct client's clientGone flag.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
		
							parent
							
								
									cba9942f77
								
							
						
					
					
						commit
						673eb707ce
					
				| 
						 | 
					@ -396,7 +396,7 @@ SyncSendAlarmNotifyEvents(SyncAlarm *pAlarm)
 | 
				
			||||||
    /* send to other interested clients */
 | 
					    /* send to other interested clients */
 | 
				
			||||||
    for (pcl = pAlarm->pEventClients; pcl; pcl = pcl->next)
 | 
					    for (pcl = pAlarm->pEventClients; pcl; pcl = pcl->next)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
	if (!pAlarm->client->clientGone)
 | 
						if (!pcl->client->clientGone)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
	    ane.sequenceNumber = pcl->client->sequence;
 | 
						    ane.sequenceNumber = pcl->client->sequence;
 | 
				
			||||||
	    WriteEventsToClient(pcl->client, 1, (xEvent *) &ane);
 | 
						    WriteEventsToClient(pcl->client, 1, (xEvent *) &ane);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue