summaryrefslogtreecommitdiff
path: root/hw/kdrive/src/kinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/src/kinput.c')
-rw-r--r--hw/kdrive/src/kinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c
index 21ac69ca6..f6eef0dca 100644
--- a/hw/kdrive/src/kinput.c
+++ b/hw/kdrive/src/kinput.c
@@ -309,12 +309,12 @@ KdMouseProc(DeviceIntPtr pDevice, int onoff)
case DEVICE_ON:
pDev->on = TRUE;
pKdPointer = pDevice;
- if (kdMouseFuncs)
- (*kdMouseFuncs->Init) ();
#ifdef TOUCHSCREEN
if (kdTsFuncs)
(*kdTsFuncs->Init) ();
#endif
+ if (kdMouseFuncs)
+ (*kdMouseFuncs->Init) ();
break;
case DEVICE_OFF:
case DEVICE_CLOSE: