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

Adam Jackson ajax at nwnk.net
Wed Dec 6 16:05:26 UTC 2017


On Tue, 2017-12-05 at 08:39 +0100, Olivier Fourdan wrote:
> 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>

Merged, thanks!

remote: I: patch #191698 updated using rev 60f4646ae10f0b57790fce46682baa531512b53e.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   97ac59b1ed..60f4646ae1  master -> master

- ajax


More information about the xorg-devel mailing list