Skip to main content

wayland_time

Function wayland_time 

Source
pub fn wayland_time() -> u32
Expand description

Millisecond timestamp for pointer / keyboard / touch events.

Samples CLOCK_MONOTONIC and wraps it to a u32 millisecond count as required by the Wayland protocol for input event timestamps.

ยงReturns

Monotonic time in milliseconds, wrapping at u32::MAX.