Wayland Relative Pointer API Progress

Bill Spitzak spitzak at gmail.com
Fri Apr 24 13:06:46 PDT 2015


That is not sufficient as the application may want to put much more 
complex rules on how the pointer moves (such as limiting it to a rectangle).

As a practical matter the applications that want a slow scrollbar want 
*exactly* the same acceleration as before, just that the resulting 
position is scaled down. Forcing them to replicate the code that the 
compositor is doing seem mistaken.

The only thing that will work is that the application can directly set 
the cursor location while it has the grab.

On 04/24/2015 01:59 AM, x414e54 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.
>


More information about the wayland-devel mailing list