weston/libweston
Jonas Ådahl d3414f23c3 Implement pointer locking and confinement
This patch implements the wp_pointer_constraints protocol used for
locking or confining a pointer. It consists of a new global object with
two requests; one for locking the surface to a position, one for
confining the pointer to a given region.

In this patch, only the locking part is fully implemented as in
specified in the protocol, while confinement is only implemented for
when the union of the passed region and the input region of the confined
surface is a single rectangle.

Note that the pointer constraints protocol is still unstable and as
such has the unstable protocol naming conventions applied.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Daniel Stone <daniels@collabora.com>
2016-07-26 17:21:15 +08:00
..
animation.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
bindings.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
clipboard.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-drm.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-drm.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-fbdev.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-fbdev.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-headless.c compositor-headless: Support starting with zero outputs 2016-06-27 13:17:05 +03:00
compositor-headless.h compositor-headless: Support starting with zero outputs 2016-06-27 13:17:05 +03:00
compositor-rdp.c rdp: Check for non-digits and errno in strtol call 2016-07-12 14:24:50 -07:00
compositor-rdp.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-wayland.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-wayland.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-x11.c compositor-x11: Flush xcb connection from x11_output_destroy() 2016-07-04 13:11:29 +03:00
compositor-x11.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor.c Implement pointer locking and confinement 2016-07-26 17:21:15 +08:00
compositor.h Implement pointer locking and confinement 2016-07-26 17:21:15 +08:00
data-device.c compositor: Untangle surface/view is_mapped from output assignments 2016-07-01 15:23:50 +03:00
dbus.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
dbus.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
gl-renderer.c gl-renderer: move check_extension() to shared/ 2016-07-22 15:28:32 +01:00
gl-renderer.h gl-renderer: remove local EGL platform (re)definitions 2016-07-22 15:29:19 +01:00
input.c Implement pointer locking and confinement 2016-07-26 17:21:15 +08:00
launcher-direct.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-impl.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-logind.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-util.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-util.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-weston-launch.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libbacklight.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libbacklight.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libinput-device.c input: Provide microsecond timestamps in motion events 2016-07-26 17:21:15 +08:00
libinput-device.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libinput-seat.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libinput-seat.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libweston.pc.in Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
linux-dmabuf.c dmabuf: Fix grammar in a comment 2016-07-07 10:50:23 -07:00
linux-dmabuf.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
log.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
noop-renderer.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
pixman-renderer.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
pixman-renderer.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
plugin-registry.c compositor: add plugin-registry 2016-07-01 14:10:26 +03:00
plugin-registry.h compositor: add plugin-registry 2016-07-01 14:10:26 +03:00
screenshooter.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
spring-tool.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
timeline-object.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
timeline.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
timeline.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vaapi-recorder.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vaapi-recorder.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
version.h.in Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vertex-clipping.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vertex-clipping.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
weston-egl-ext.h weston-egl-ext.h: add EGL platform definitions 2016-07-22 15:29:18 +01:00
weston-launch.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
weston-launch.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
zoom.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00