[mutter] clutter/evdev: Set tool IDs



commit 1c23d4bc517bfef2e4b763a180fd0dd30186b141
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 f36fa92..e0cdb31 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]