cosmic-comp/src/wayland
Ian Douglas Scott 7fa5bd6b91 image-copy: Do not panic on ImageCaptureSourceKind::Destroyed
The way this was handled previously is incorrect. We should still handle
creation of a capture session, just send `stopped` when it is created.

This can be tested by creating a capture source and session for a
workspace that has been removed. Toplevel and output sources have a
different issue in `smithay`: https://github.com/Smithay/smithay/pull/1961

Should fix https://github.com/pop-os/cosmic-epoch/issues/3319.
2026-03-26 18:23:20 +01:00
..
handlers image-copy: Do not panic on ImageCaptureSourceKind::Destroyed 2026-03-26 18:23:20 +01:00
protocols chore: clippy 2026-03-18 18:19:03 +01:00
mod.rs cargo fmt 2022-07-04 16:01:06 +02:00