[mutter/wip/tablet-protocol-v2: 31/65] clutter/evdev: Set tool IDs



commit 904d2b57b592cc80fd471e6d808f05e95760cb50
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu May 12 17:58:48 2016 +0200

    clutter/evdev: Set tool IDs

 .../evdev/clutter-input-device-tool-evdev.c        |    1 +
 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 8269ecf..bd89aee 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]