diff --git a/qemu-display-listener/src/clipboard.rs b/qemu-display-listener/src/clipboard.rs index 8542b39..97183de 100644 --- a/qemu-display-listener/src/clipboard.rs +++ b/qemu-display-listener/src/clipboard.rs @@ -37,6 +37,8 @@ pub trait Clipboard { ) -> zbus::Result<(String, Vec)>; } +pub type ClipboardReplyTx = Sender)>>; + // TODO: replace events mpsc with async traits #[derive(Debug)] pub enum ClipboardEvent { @@ -53,7 +55,7 @@ pub enum ClipboardEvent { Request { selection: ClipboardSelection, mimes: Vec, - tx: Mutex)>>>, + tx: Mutex, }, }