projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ca11a
)
wayland: Propagate slider/rotation axes from tools to devices
author
Carlos Garnacho
<carlosg@gnome.org>
Fri, 8 Apr 2016 15:25:04 +0000
(17:25 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Fri, 8 Apr 2016 15:34:29 +0000
(17:34 +0200)
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index 15ab038a3fc8e11b9947186e092bb2787bd04c43..3ba1f4d793853ce3bdb633baf0ffdf6011b4ee7c 100644
(file)
--- 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;
}
}