Skip to content

xwayland/present: Skip queued flip when a new one becomes ready

If multiple flips become ready for the same MSC, we would previously execute them all sequentially, one per MSC. This could result in an unbounded flip queue and corresponding memory consumption.

With implicit sync, leave the mailbox handling to the compositor for async flips though.

Closes: #1664 (closed) Fixes: e1f16fb1 ("xwayland: don't scrap pending present requests")

Merge request reports