summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clutter/x11/clutter-device-manager-xi2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clutter/x11/clutter-device-manager-xi2.c b/clutter/x11/clutter-device-manager-xi2.c
index c05529302..47aa4bfe7 100644
--- a/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/x11/clutter-device-manager-xi2.c
@@ -254,6 +254,8 @@ create_device (ClutterDeviceManagerXI2 *manager_xi2,
source = CLUTTER_CURSOR_DEVICE;
else if (strstr (name, "wacom") != NULL || strstr (name, "pen") != NULL)
source = CLUTTER_PEN_DEVICE;
+ else if (strstr (name, "touchpad") != NULL)
+ source = CLUTTER_TOUCHPAD_DEVICE;
else
source = CLUTTER_POINTER_DEVICE;