diff options
-rw-r--r-- | hw/kdrive/linux/mouse.c | 3 |
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; |