[WIP] Implement relative-pointer
Created by: arandomhuman
This is mostly a feature complete implementation of the relative-pointer protocol, but since this is my first try, I've marked it WIP for now. Suggestions on how to correct/improve code, structure, whatever, are welcome.
What works:
- weston-resizor (mostly) works. Some eccentricity is because of issue #613 (closed); specifically (lack of) this behavior. This makes the cursor release the lock as soon as the surface is sufficiently small (i.e., the pointer location is out of bounds). The x11 backend is generating absolute events for pointer motion for me (why?), so the scaling is out of whack.
- Neverball on Xwayland
PR Todo:
- Add an example/append to the pointer-constraints example
Otherwise:
- Maintain event timestamps in usecs instead of converting to msecs?