From 057ae4ace00dd0213e9e6e9808ebbc2bc2ed655f Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 8 Apr 2016 17:25:04 +0200 Subject: [PATCH] wayland: Propagate slider/rotation axes from tools to devices --- gdk/wayland/gdkdevice-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 15ab038a3f..3ba1f4d793 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -2893,6 +2893,12 @@ tablet_tool_handle_capability (void *data, case ZWP_TABLET_TOOL_V1_CAPABILITY_DISTANCE: tool->axes |= GDK_AXIS_FLAG_DISTANCE; break; + case ZWP_TABLET_TOOL_V1_CAPABILITY_ROTATION: + tool->axes |= GDK_AXIS_FLAG_ROTATION; + break; + case ZWP_TABLET_TOOL_V1_CAPABILITY_SLIDER: + tool->axes |= GDK_AXIS_FLAG_SLIDER; + break; } }