Xi: fix not reached code in XSendExtensionEvent
Error was introduced in 31a7994a. I.e., broken since 2007. I guess nobody uses
XSendExtensionEvent.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									f491b0aa5b
								
							
						
					
					
						commit
						d948dcd955
					
				| 
						 | 
				
			
			@ -138,9 +138,10 @@ ProcXSendExtensionEvent(ClientPtr client)
 | 
			
		|||
 | 
			
		||||
    first = ((xEvent *) & stuff[1]);
 | 
			
		||||
    if (!((EXTENSION_EVENT_BASE <= first->u.u.type) &&
 | 
			
		||||
	  (first->u.u.type < lastEvent)))
 | 
			
		||||
	  (first->u.u.type < lastEvent))) {
 | 
			
		||||
	client->errorValue = first->u.u.type;
 | 
			
		||||
	return BadValue;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    list = (XEventClass *) (first + stuff->num_events);
 | 
			
		||||
    if ((ret = CreateMaskFromList(client, list, stuff->count, tmp, dev,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue