cosmic-comp/src
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
..
backend chore: Fix remaining clippy lints 2026-03-24 16:23:43 +01:00
config chore: clippy 2026-03-18 18:19:03 +01:00
dbus chore: clippy 2026-03-18 18:19:03 +01:00
input chore: clippy 2026-03-18 18:19:03 +01:00
logger chore: format for Rust 2024 2025-10-22 23:55:11 +02:00
shell chore: Fix remaining clippy lints 2026-03-24 16:23:43 +01:00
utils chore: Fix remaining clippy lints 2026-03-24 16:23:43 +01:00
wayland image-copy: Do not panic on ImageCaptureSourceKind::Destroyed 2026-03-26 18:23:20 +01:00
debug.rs chore: Fix remaining clippy lints 2026-03-24 16:23:43 +01:00
hooks.rs Add hooks for custom window decorations 2025-10-29 11:27:14 +01:00
lib.rs chore: Fix remaining clippy lints 2026-03-24 16:23:43 +01:00
main.rs Add hooks for custom window decorations 2025-10-29 11:27:14 +01:00
session.rs chore: clippy 2026-03-18 18:19:03 +01:00
state.rs chore: Fix remaining clippy lints 2026-03-24 16:23:43 +01:00
systemd.rs chore: format for Rust 2024 2025-10-22 23:55:11 +02:00
theme.rs chore: format for Rust 2024 2025-10-22 23:55:11 +02:00
xwayland.rs chore: clippy 2026-03-18 18:19:03 +01:00