pub fn next_serial() -> SerialExpand description
Hand out the next unique, monotonically increasing Wayland event serial.
Wayland tags each event with a serial so clients and Smithay can prove a request was caused by a specific event (popup grab, selection change). Every injected input event draws a fresh value from this process-wide atomic counter.
ยงReturns
A new [Serial] value.