summaryrefslogtreecommitdiff
path: root/Xi/listdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-20 14:07:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-21 10:42:35 +1000
commit1cce55cc0333a026474100cf2f784e220fd96473 (patch)
tree3a37b9a9227b89e3211340448b38cb1462f2f9ac /Xi/listdev.c
parent81b3b0cce088866dc3cda099d7c8d6655849fd43 (diff)
input: rename device->type to device->xinput_type.
This type is only used in XI to give a hint of what type this device may be. Call it xinput_type for clarity. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/listdev.c')
-rw-r--r--Xi/listdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/listdev.c b/Xi/listdev.c
index e7d0a9d68..294fec999 100644
--- a/Xi/listdev.c
+++ b/Xi/listdev.c
@@ -175,7 +175,7 @@ CopySwapDevice(ClientPtr client, DeviceIntPtr d, int num_classes,
dev = (xDeviceInfoPtr) * buf;
dev->id = d->id;
- dev->type = d->type;
+ dev->type = d->xinput_type;
dev->num_classes = num_classes;
if (d->isMaster && IsKeyboardDevice(d))
dev->use = IsXKeyboard;