summaryrefslogtreecommitdiffstats
path: root/client/red_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/red_client.cpp')
-rw-r--r--client/red_client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp
index 666de40c..3f01fb1c 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -1087,21 +1087,21 @@ void RedClient::dispatch_agent_message(VDAgentMessage* msg, void* data)
}
case VD_AGENT_CLIPBOARD: {
VDAgentClipboard* clipboard = (VDAgentClipboard*)data;
- Platform::set_clipboard_data(clipboard->type, clipboard->data,
+ Platform::on_clipboard_notify(clipboard->type, clipboard->data,
msg->size - sizeof(VDAgentClipboard));
break;
}
case VD_AGENT_CLIPBOARD_GRAB:
- Platform::set_clipboard_owner((uint32_t *)data,
+ Platform::on_clipboard_grab((uint32_t *)data,
msg->size / sizeof(uint32_t));
break;
case VD_AGENT_CLIPBOARD_REQUEST:
- if (!Platform::request_clipboard_notification(((VDAgentClipboardRequest*)data)->type)) {
+ if (!Platform::on_clipboard_request(((VDAgentClipboardRequest*)data)->type)) {
on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0);
}
break;
case VD_AGENT_CLIPBOARD_RELEASE:
- Platform::release_clipboard();
+ Platform::on_clipboard_release();
break;
default:
DBG(0, "Unsupported message type %u size %u", msg->type, msg->size);