mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-05 05:40:12 +01:00
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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue