From: Carlos Garnacho Date: Fri, 8 Apr 2016 15:25:04 +0000 (+0200) Subject: wayland: Propagate slider/rotation axes from tools to devices X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~4982 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=057ae4ace00dd0213e9e6e9808ebbc2bc2ed655f;p=gtk4.git wayland: Propagate slider/rotation axes from tools to devices --- 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; } }