WIP: xwayland: add support for presentation-time
This change just replaces wl_surface.frame with presentation-time when available. This allows the X11 PresentCompleteNotify events to be sent right after vblank like X11 clients expect, even if the compositor sends delayed wl_surface.frame events (e.g. Sway can be configured to do so).
This is groundwork for taking advantage of more presentation-time features, like accurate timing information and multiple frames in flight at the same time.
Signed-off-by: Simon Ser email@example.com
Preliminary testing shows that we miss some vblanks in