diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-09 13:04:56 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-11 13:39:48 +1000 |
commit | f3c26034eca98924d93a004aaa1f61ffe5d344ca (patch) | |
tree | 4e463c2b0f8682b58e7970fdeebf732fae9ac1f9 | |
parent | 482cc72aa790bd2f23c7ebe12c5549b47c737115 (diff) |
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>
-rw-r--r-- | Xi/querydev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xi/querydev.c b/Xi/querydev.c index 22a553723..fd5e4635c 100644 --- a/Xi/querydev.c +++ b/Xi/querydev.c @@ -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; } |