From cf75da99817cadba82299ef3d106da5308433486 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 18 Jul 2023 02:52:22 -0400 Subject: make clipboard manipulation happen from the agent on x11 systems, you can't just send data to the os to store on the clipboard, you just register which application currently owns the clipboard and then other applications can use ipc to request the owning application to send them the clipboard data. this requires there to be an application still running in order to respond to those requests. luckily, we have one of those available in the form of the agent. --- src/protocol.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/protocol.rs') diff --git a/src/protocol.rs b/src/protocol.rs index f9a9d28..e883441 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -34,6 +34,9 @@ pub enum Action { plaintext: String, org_id: Option, }, + ClipboardStore { + text: String, + }, Quit, Version, } -- cgit v1.2.3-54-g00ecf