xwayland: Implement tablet_tool_wheel for scrolling

Graphics / X.Org / X.Org Server - Jason Gerecke [gmail.com] - 11 June 2017 21:46 EDT

The 'tablet_tool_wheel' function for tablet scrolling was added back in 8a1defcc634 but left unimplemented. This commit fills in the necessary details, using the "clicks" count as the number of discrete scroll up/down events to send.

7c7a540 xwayland: Implement tablet_tool_wheel for scrolling
hw/xwayland/xwayland-input.c | 24 ++++++++++++++++++++++++
hw/xwayland/xwayland.h | 2 ++
2 files changed, 26 insertions(+)

Upstream: cgit.freedesktop.org


  • Share