Wayland Relative Pointer API Progress
Pekka Paalanen
ppaalanen at gmail.com
Fri Apr 24 02:22:34 PDT 2015
On Fri, 24 Apr 2015 17:59:04 +0900
x414e54 <x414e54 at linux.com> wrote:
> If you allowed applications to control the mouse speed or acceleration
> when they have an implicit grab then when it is released it returns to
> normal. This would give GUI applications the ability to use slow
> scrollbars without having to warp the pointer. Absolute pointing
> devices could then just ignore the speed change.
Then apps would need to know what the accel paramaters mean, which
requires us to lock down the acceleration logic and mathematical
functions in the protocol specification. I don't think that is
something Wayland wants to specify.
If you have the compositor in charge of moving the cursor, and the app
in charge of scrolling and drawing the contents, you would get a lag
between the cursor moving and the content/scrollbar moving. Granted,
this is probably a minor issue and can happen in other scenarios. We
did manage to avoid the unsync with window moves, though.
Thanks,
pq
More information about the wayland-devel
mailing list