Xi: XIQueryDevice should use XIFooClass instead of the old FooClass defines.
This is merely a cosmetic change, the actual values are the same anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
		
							parent
							
								
									482cc72aa7
								
							
						
					
					
						commit
						f3c26034ec
					
				|  | @ -428,13 +428,13 @@ SwapDeviceInfo(DeviceIntPtr dev, xXIDeviceInfo* info) | |||
|         int len = ((xXIAnyInfo*)any)->length; | ||||
|         switch(((xXIAnyInfo*)any)->type) | ||||
|         { | ||||
|             case ButtonClass: | ||||
|             case XIButtonClass: | ||||
|                 SwapButtonInfo(dev, (xXIButtonInfo*)any); | ||||
|                 break; | ||||
|             case KeyClass: | ||||
|             case XIKeyClass: | ||||
|                 SwapKeyInfo(dev, (xXIKeyInfo*)any); | ||||
|                 break; | ||||
|             case ValuatorClass: | ||||
|             case XIValuatorClass: | ||||
|                 SwapValuatorInfo(dev, (xXIValuatorInfo*)any); | ||||
|                 break; | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue