summaryrefslogtreecommitdiff
path: root/clutter/clutter/evdev/clutter-input-device-tool-evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'clutter/clutter/evdev/clutter-input-device-tool-evdev.c')
-rw-r--r--clutter/clutter/evdev/clutter-input-device-tool-evdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clutter/clutter/evdev/clutter-input-device-tool-evdev.c b/clutter/clutter/evdev/clutter-input-device-tool-evdev.c
index f36fa9205..e0cdb31a4 100644
--- a/clutter/clutter/evdev/clutter-input-device-tool-evdev.c
+++ b/clutter/clutter/evdev/clutter-input-device-tool-evdev.c
@@ -63,6 +63,7 @@ clutter_input_device_tool_evdev_new (struct libinput_tablet_tool *tool,
evdev_tool = g_object_new (CLUTTER_TYPE_INPUT_DEVICE_TOOL_EVDEV,
"type", type,
"serial", serial,
+ "id", libinput_tablet_tool_get_tool_id (tool),
NULL);
evdev_tool->tool = libinput_tablet_tool_ref (tool);