mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
SpiceAgent: Implement ClipboardRequest
messages
This commit is contained in:
parent
8202f13169
commit
9c4538a9a8
3 changed files with 50 additions and 0 deletions
|
@ -74,6 +74,10 @@ ErrorOr<void> SpiceAgent::on_message_received()
|
|||
break;
|
||||
|
||||
dbgln_if(SPICE_AGENT_DEBUG, "The spice server has notified us of new clipboard data of type: {}", data_type);
|
||||
dbgln_if(SPICE_AGENT_DEBUG, "Sending a request for data of type: {}", data_type);
|
||||
|
||||
auto request_message = ClipboardRequestMessage(data_type);
|
||||
TRY(this->send_message(request_message));
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue