Accessing the time, compatible with motion time-stamps

Simon Ser contact at emersion.fr
Thu Jun 23 06:06:59 UTC 2022


Hi,

On Wednesday, June 22nd, 2022 at 06:03, Campbell Barton <ideasman42 at gmail.com> wrote:

> - zwp_tablet_tool_v2_listener.motion
> callback doesn't take time-stamps.
>
> Is there a way to access the time that is compatible with
> pointer_listener.motion in situations where callbacks don't provide a
> time?

You can use the zwp_tablet_tool_v2.frame event, sent right after each
group of tablet tool events. It carries a timestamp.

Simon


More information about the wayland-devel mailing list