[PATCH weston 3/3] compositor-x11: Support relative mouse motion in fullscreen

Marie Stephanie Alesna istephielicious at gmail.com
Mon Oct 9 22:12:34 UTC 2017


Wayland relative mouse clients require indefinite mouse moves.  Simulate them
by keeping invisible host mouse pointer in center of screen using mouse warps.

Also fix fullscreen mouse lock-up at invisible barrier when the invisible host
mouse pointer hits an edge of the screen.

Signed-off-by: Marie Stephanie Alesna <istephielicious at gmail.com>
---
 libweston/compositor-x11.c | 59 ++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 57 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-compositor-x11-Support-relative-mouse-motion-in-fullsc.txt
Type: text/x-patch
Size: 3214 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171010/d843df8d/attachment.bin>


More information about the wayland-devel mailing list