diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-08-04 18:52:51 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-08-23 21:01:44 +0200 |
commit | 942d144d3b893177a5c2b3ab4a8cbb209f710c68 (patch) | |
tree | 9c11552816c8ca9927485683a60b35b7a4d81496 /gdk/gdkdevicetool.c | |
parent | 40f75e74be35605d1b77fc81e560b8f9e20e2311 (diff) | |
download | gtk+-942d144d3b893177a5c2b3ab4a8cbb209f710c68.tar.gz |
gdk: Pass hardware ID on gdk_device_tool_new()
And implement this on wayland, where this information is already obtained.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Diffstat (limited to 'gdk/gdkdevicetool.c')
-rw-r--r-- | gdk/gdkdevicetool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkdevicetool.c b/gdk/gdkdevicetool.c index d632504fa4..1b1cd38606 100644 --- a/gdk/gdkdevicetool.c +++ b/gdk/gdkdevicetool.c @@ -137,11 +137,13 @@ gdk_device_tool_init (GdkDeviceTool *tool) GdkDeviceTool * gdk_device_tool_new (guint64 serial, + guint64 hw_id, GdkDeviceToolType type, GdkAxisFlags tool_axes) { return g_object_new (GDK_TYPE_DEVICE_TOOL, "serial", serial, + "hardware-id", hw_id, "tool-type", type, "axes", tool_axes, NULL); |