[PATCH xwayland] xwayland: Keep separate variables for pointer and tablet foci

Olivier Fourdan ofourdan at redhat.com
Tue Dec 5 07:39:47 UTC 2017


Hi,

On Mon, Dec 4, 2017 at 10:22 PM, Jason Gerecke <killertofu at gmail.com> wrote:

> On Mon, Dec 4, 2017 at 7:55 AM, Carlos Garnacho <carlosg at gnome.org> wrote:
> > The tablet/stylus interfaces reused xwl_seat->focus_window, which
> > would leave a somewhat inconsistent state of that variable for
> > wl_pointer purposes (basically, everything) if the pointer happened
> > to lay on the same surface than the stylus while proximity_out
> > happens.
> >
> > We just want the stylus xwl_window to correctly determine we have
> > stylus focus, and to correctly translate surface-local coordinates
> > to root coordinates, this can be done using a different variable.
> >
> > Signed-off-by: Carlos Garnacho <carlosg at gnome.org>
>
> Makes sense:
>
> Acked-by: Jason Gerecke <jason.gerecke at wacom.com>
>
>
For reference:

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1519961
Tested-by: Olivier Fourdan <ofourdan at redhat.com>

Cheers,
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20171205/d8e3c257/attachment.html>


More information about the xorg-devel mailing list