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; |         int len = ((xXIAnyInfo*)any)->length; | ||||||
|         switch(((xXIAnyInfo*)any)->type) |         switch(((xXIAnyInfo*)any)->type) | ||||||
|         { |         { | ||||||
|             case ButtonClass: |             case XIButtonClass: | ||||||
|                 SwapButtonInfo(dev, (xXIButtonInfo*)any); |                 SwapButtonInfo(dev, (xXIButtonInfo*)any); | ||||||
|                 break; |                 break; | ||||||
|             case KeyClass: |             case XIKeyClass: | ||||||
|                 SwapKeyInfo(dev, (xXIKeyInfo*)any); |                 SwapKeyInfo(dev, (xXIKeyInfo*)any); | ||||||
|                 break; |                 break; | ||||||
|             case ValuatorClass: |             case XIValuatorClass: | ||||||
|                 SwapValuatorInfo(dev, (xXIValuatorInfo*)any); |                 SwapValuatorInfo(dev, (xXIValuatorInfo*)any); | ||||||
|                 break; |                 break; | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue