Implement the relative pointer protocol

Graphics / Wayland / Weston - Jonas Ã…dahl [gmail.com] - 26 July 2016 04:21 UTC

A wp_relative_pointer object is an extension to the wl_pointer interface only used for emitting relative pointer events. It will only emit events when the parent pointer has focus.

To get a relative pointer object, use the get_relative_pointer request of the global wp_relative_pointer_manager object.

The relative pointer protocol is currently an unstable protocol, so unstable protocol naming conventions has been applied.

30d61d8 Implement the relative pointer protocol
Makefile.am | 4 +-
libweston/compositor.c | 3 +
libweston/compositor.h | 4 ++
libweston/input.c | 187 +++++++++++++++++++++++++++++++++++++++++++-----
4 files changed, 179 insertions(+), 19 deletions(-)

Upstream: cgit.freedesktop.org


  • Share