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>
This commit is contained in:
Peter Hutterer
2009-05-20 14:07:03 +10:00
parent 81b3b0cce0
commit 1cce55cc03
4 changed files with 4 additions and 4 deletions

View File

@@ -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;