[mutter/wip/tablet-protocol-v2: 39/70] clutter/evdev: Set tool IDs



commit 6e485cedeb7332117f47074ed7ae7a8c01a556d8
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]