Motion on tablet tip events is ignored
Originally filed here: https://gitlab.freedesktop.org/libinput/libinput/issues/128
libinput has the
LIBINPUT_EVENT_TABLET_TOOL_AXIS event for pure axis changes, but other events may have axis changes too. In this specific instance,
LIBINPUT_EVENT_TABLET_TOOL_TIP has a large pointer jump. mutter ignores the axis change on the tip down event, the next (non-jumping) event thus causes a line from the previous coordinates to the current ones, turning a dot into a line. In other words:
- event 1: x1/y1
- event 2: x2/y2 tip down
- event 3: x3/y3
Because the tip is down and x3/y3 are the new coordinates, a line is drawn from x1/y1 to x3/y3.
To handle this, we always need to check the axes for any changes and handle them.
Issue current as of 3.30.0 (34f5be72)