From ce03f5449d68b2f0201dce409a81280300120069 Mon Sep 17 00:00:00 2001 From: Arnon Gilboa Date: Mon, 19 Jul 2010 10:29:47 +0300 Subject: client: add clipboard support * windows - untested * linux - small strings both ways, large implemented differently: * client to guest - support INCR * guest to client - we supply a single possibly very large property * requires server changes in next patch to work with spice-vmc --- client/application.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/application.cpp') diff --git a/client/application.cpp b/client/application.cpp index 14ac7433..e986475f 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1325,6 +1325,12 @@ void Application::on_app_activated() { _active = true; _key_handler->on_focus_in(); + Platform::set_clipboard_listener(this); +} + +void Application::on_clipboard_change() +{ + _client.on_clipboard_change(); } void Application::on_app_deactivated() -- cgit