summaryrefslogtreecommitdiff
path: root/hw/kdrive/linux/tslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/linux/tslib.c')
-rw-r--r--hw/kdrive/linux/tslib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/kdrive/linux/tslib.c b/hw/kdrive/linux/tslib.c
index 25474a867..eafba56b0 100644
--- a/hw/kdrive/linux/tslib.c
+++ b/hw/kdrive/linux/tslib.c
@@ -171,6 +171,8 @@ TslibInit (void)
if (!TsInputType)
TsInputType = KdAllocInputType ();
+ KdMouseInfoAdd(); /* allocate empty kdMouseInfo entry for ts */
+
for (mi = kdMouseInfo; mi; mi = next)
{
next = mi->next;