Skip to content

wsi/wl: Implement fallback for presentWait and enable presentWait by default

The goal of this MR is to expose presentWait by default on Wayland.

To make this plausible, I implemented a frame callback based fallback (with timeout), that serves as a useful proxy to presentation protocol.

This approach is very similar to how Xwl implements PRESENT.

Every relevant DE to my knowledge either has implemented this protocol in a shipping release, or an upcoming release has it (KDE), so I think it is okay to enable this by default now without jumping through extra hoops.

Merge request reports