diff options
-rw-r--r-- | src/eventcomm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index 7b9a403..35167bb 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -233,7 +233,11 @@ EventDeviceOnHook(InputInfoPtr pInfo, SynapticsParameters * para) static Bool EventDeviceOffHook(InputInfoPtr pInfo) { + SynapticsPrivate *priv = (SynapticsPrivate *) pInfo->private; + struct eventcomm_proto_data *proto_data = priv->proto_data; + UninitializeTouch(pInfo); + libevdev_grab(proto_data->evdev, LIBEVDEV_UNGRAB); return Success; } |