Xi: fix XITouchClass sourceid assignment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
		
							parent
							
								
									10cd6fdc43
								
							
						
					
					
						commit
						72cfc1a097
					
				| 
						 | 
					@ -430,7 +430,7 @@ ListTouchInfo(DeviceIntPtr dev, xXITouchInfo * touch)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    touch->type = XITouchClass;
 | 
					    touch->type = XITouchClass;
 | 
				
			||||||
    touch->length = sizeof(xXITouchInfo) >> 2;
 | 
					    touch->length = sizeof(xXITouchInfo) >> 2;
 | 
				
			||||||
    touch->sourceid = touch->sourceid;
 | 
					    touch->sourceid = dev->touch->sourceid;
 | 
				
			||||||
    touch->mode = dev->touch->mode;
 | 
					    touch->mode = dev->touch->mode;
 | 
				
			||||||
    touch->num_touches = dev->touch->num_touches;
 | 
					    touch->num_touches = dev->touch->num_touches;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue