summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2001-12-07 02:18:19 +0000
committerKeith Packard <keithp@keithp.com>2001-12-07 02:18:19 +0000
commit54feb8a4c8f0e0cb6eb40b494171fa4f3552cfc3 (patch)
tree2e8cc15902d99e2f75d55a02a0e69cd31f36955a
parent636390fb9d6314e506f593da6556fa198b4e9bf6 (diff)
kdrive: missing registration for mouse input type
-rw-r--r--hw/kdrive/linux/mouse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/kdrive/linux/mouse.c b/hw/kdrive/linux/mouse.c
index 2e46d3db1..147d1b56b 100644
--- a/hw/kdrive/linux/mouse.c
+++ b/hw/kdrive/linux/mouse.c
@@ -905,6 +905,9 @@ MouseInit (void)
int n = 0;
char *prot;
+ if (!MouseInputType)
+ MouseInputType = KdAllocInputType ();
+
for (mi = kdMouseInfo; mi; mi = next)
{
next = mi->next;