feat: file clipboard, try empty message

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2025-01-21 22:04:53 +08:00
parent 49c6b24a7a
commit e646eb9f4d

View File

@ -533,6 +533,14 @@ message CliprdrFileContentsResponse {
bytes requested_data = 5;
}
// Try empty clipboard in the following case(Windows only):
// 1. `A`(Windows) -> `B`, `C`
// 2. Copy in `A, file clipboards on `B` and `C` are updated.
// 3. Copy in `B`.
// `A` should tell `C` to empty the file clipboard.
message CliprdrTryEmpty {
}
message Cliprdr {
oneof union {
CliprdrMonitorReady ready = 1;
@ -542,6 +550,7 @@ message Cliprdr {
CliprdrServerFormatDataResponse format_data_response = 5;
CliprdrFileContentsRequest file_contents_request = 6;
CliprdrFileContentsResponse file_contents_response = 7;
CliprdrTryEmpty try_empty = 8;
}
}