Skip to content
  • Simon Ser's avatar
    xwayland: add support for presentation-time · 8db9b345
    Simon Ser authored
    
    
    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's avatarSimon Ser <contact@emersion.fr>
    8db9b345