Xi: correct length field for XIQueryPointer reply.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
		
							parent
							
								
									e4ea91a02d
								
							
						
					
					
						commit
						285c88018b
					
				| 
						 | 
				
			
			@ -119,7 +119,7 @@ ProcXIQueryPointer(ClientPtr client)
 | 
			
		|||
    memset(&rep, 0, sizeof(rep));
 | 
			
		||||
    rep.repType = X_Reply;
 | 
			
		||||
    rep.RepType = X_XIQueryPointer;
 | 
			
		||||
    rep.length = 5;
 | 
			
		||||
    rep.length = 6;
 | 
			
		||||
    rep.sequenceNumber = client->sequence;
 | 
			
		||||
    rep.root = (GetCurrentRootWindow(pDev))->drawable.id;
 | 
			
		||||
    rep.root_x = FP1616(pSprite->hot.x, 0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue