cosmic-comp/src/wayland/handlers/image_copy_capture
Ian Douglas Scott e1342fb2e3 image-copy: Use "buffer age" of 1 for capture
The logic `age_for_buffer` used seems to be a misinterpretation of the
protocol.

The wording is a little unclear, but it seems tracking buffer age is the
responsibility of the client, and the client is required to accumulate
damage and pass it in `damage_buffer`.

Our clients initially weren't doing that correctly. I updated
xdg-desktop-portal-cosmic to use `damage_buffer` after testing on
wlroots, and cosmic-workspaces was recently updated as well.
2026-02-05 02:01:14 +01:00
..
mod.rs image-copy: Use abstraction that's now provided by Smithay 2026-02-05 02:01:14 +01:00
render.rs image-copy: Use "buffer age" of 1 for capture 2026-02-05 02:01:14 +01:00
user_data.rs image-copy: Use "buffer age" of 1 for capture 2026-02-05 02:01:14 +01:00