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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp
index e3519006..99e79a50 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -1095,7 +1095,7 @@ void RedClient::dispatch_agent_message(VDAgentMessage* msg, void* data)
break;
case VD_AGENT_CLIPBOARD_REQUEST:
if (!Platform::request_clipboard_notification(((VDAgentClipboardRequest*)data)->type)) {
- send_agent_clipboard_message(VD_AGENT_CLIPBOARD_RELEASE);
+ on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0);
}
break;
case VD_AGENT_CLIPBOARD_RELEASE: