Skip to content

wayland: Allow xwayland commit surfaces after receiving sync request acknowledgement

Vlad Zahorodnii requested to merge work/cherry-pick-23f85440 into Plasma/6.2

This fixes client-side decorated windows such as chromium displaying "black bars" when they are being interactively resized.

The idea behind the fix: send a sync request and block wl_surface commits to freeze the surface, wait until the client repaints the window and acks the sync request, unblock wl_surface commits (in response, Xwayland will commit a new buffer), repeat the cycle if the pointer is moved again.

(cherry picked from commit 23f85440)

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org


Draft: still needs more testing in master

Merge request reports

Loading