Skip to content

xwayland: Clear tablet cursor pending frame cb

If the tablet tool is moved out of proximity before the cursor's pending frame callback is received, any further attempts to update the cursor will fail because the frame callback is still pending.

Make sure to clear any cursor pending frame when the tool gets in proximity again, similar to what we do when the pointer re-enters a surface, so that the cursor updates aren't discarded.

Signed-off-by: Olivier Fourdan ofourdan@redhat.com See-also: https://gitlab.gnome.org/GNOME/mutter/-/issues/1969

CC: @carlosg

Edited by Olivier Fourdan

Merge request reports

Loading