clipboard: persist clipboard contents after source application closes

When the source application closes, the forked child continues serving
clipboard data so it remains available for paste operations.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I14fbcf8cbc47c40bfa1da7f8b09245936a6a6964
This commit is contained in:
raf 2026-03-27 09:20:54 +03:00
commit 030be21ea5
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
7 changed files with 616 additions and 156 deletions

3
src/clipboard/mod.rs Normal file
View file

@ -0,0 +1,3 @@
pub mod persist;
pub use persist::{ClipboardData, get_serving_pid, persist_clipboard};