Xi: add deviceid to QueryDevicePointer request.
Why not, we had the padding anyway. Suggested by Jim Gettys on the X.Org mailing list.
This commit is contained in:
		
							parent
							
								
									4f2cd0ed96
								
							
						
					
					
						commit
						7b4f3616f7
					
				| 
						 | 
					@ -113,6 +113,7 @@ ProcXQueryDevicePointer(ClientPtr client)
 | 
				
			||||||
    rep.rootX = pSprite->hot.x;
 | 
					    rep.rootX = pSprite->hot.x;
 | 
				
			||||||
    rep.rootY = pSprite->hot.y;
 | 
					    rep.rootY = pSprite->hot.y;
 | 
				
			||||||
    rep.child = None;
 | 
					    rep.child = None;
 | 
				
			||||||
 | 
					    rep.deviceid = pDev->id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (pSprite->hot.pScreen == pWin->drawable.pScreen)
 | 
					    if (pSprite->hot.pScreen == pWin->drawable.pScreen)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue