summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-10-21 19:06:13 +0000
committerAdam Jackson <ajax@nwnk.net>2005-10-21 19:06:13 +0000
commit59279da49806b032027bb54410bc2513d21e3d9e (patch)
tree215e7928531a4427c052ef83c0245ef89267eb3a /hw
parent4a8072011895e6f472e429af7503fc07e0561144 (diff)
Bug #1429: Report input device type correctly. (Stéphane VOLTZ)
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Xinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c
index 0d1f98844..aa3f14e79 100644
--- a/hw/xfree86/common/xf86Xinput.c
+++ b/hw/xfree86/common/xf86Xinput.c
@@ -313,8 +313,8 @@ xf86ActivateDevice(LocalDevicePtr local)
if (dev == NULL)
FatalError("Too many input devices");
- local->atom = MakeAtom(local->name,
- strlen(local->name),
+ local->atom = MakeAtom(local->type_name,
+ strlen(local->type_name),
TRUE);
AssignTypeAndName (dev, local->atom, local->name);
dev->public.devicePrivate = (pointer) local;