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@gnome.org> Acked-by: Jason Gerecke <jason.gerecke@wacom.com> Tested-by: Olivier Fourdan <ofourdan@redhat.com> |
||
---|---|---|
.. | ||
.gitignore | ||
drm.xml | ||
Makefile.am | ||
meson.build | ||
xwayland-cursor.c | ||
xwayland-cvt.c | ||
xwayland-glamor-xv.c | ||
xwayland-glamor.c | ||
xwayland-input.c | ||
xwayland-output.c | ||
xwayland-shm.c | ||
xwayland-vidmode.c | ||
xwayland.c | ||
xwayland.h |