Atomic KMS API lacks the ability to set cursor hot-spot coordinates

Simon Ser contact at emersion.fr
Thu Mar 19 10:00:54 UTC 2020


On Thursday, March 19, 2020 10:57 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Wed, 18 Mar 2020 14:38:48 +0000
> Simon Ser contact at emersion.fr wrote:
>
> > Hi,
> >
> > > 1.  Letting the VM-viewer window-system draw the cursor as it normally
> > >     would draw it.
> > >
> >
> > Why is this important? Can't the VM viewer hide the cursor and use a
> > sub-surface to manually draw the cursor plane configured by the guest?
> > This would also allow the compositor running inside the VM to correctly
> > have control over the cursor position, which is necessary for pointer
> > constraints.
>
> Aren't pointer motion events delivered in absolute and not relative
> coordinates in the "seamless mode"?
>
> Do we do pointer constraints also with absolute motion?

Some apps do pointer constraints with absolute motion, e.g. games and
VNC/VM viewers. It's usually used to prevent the user from leaving the
constrained surface by mistake.


More information about the dri-devel mailing list