Skip to content

wayland/surface: Only discard feedback on new buffer

Robert Mader requested to merge rmader/mutter:feedback-discard-cleanup into main

The assumption made in the comments only applies if a new buffer was attached, so move the code accordingly. Surface commits may be done e.g. for subsurface movements or frame callback requests, among a growing list of other reasons.


cc @YaLTeR

Merge request reports