Merge branch 'jorth/damage-note' into 'main'

protocol: remove note discouraging use of wl_surface.damage

See merge request wayland/wayland!501
This commit is contained in:
Julian Orth 2026-02-02 11:33:50 +01:00
commit d62e70c3ae

View file

@ -1572,10 +1572,6 @@
wl_surface.commit assigns pending damage as the current damage,
and clears pending damage. The server will clear the current
damage as it repaints the surface.
Note! New clients should not use this request. Instead damage can be
posted with wl_surface.damage_buffer which uses buffer coordinates
instead of surface coordinates.
</description>
<arg name="x" type="int" summary="surface-local x coordinate"/>
<arg name="y" type="int" summary="surface-local y coordinate"/>