diff options
author | Arnon Gilboa <agilboa@redhat.com> | 2010-10-01 16:06:10 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-10-01 16:06:10 +0200 |
commit | c909198eca202f1a2424ce739c541a740dd61281 (patch) | |
tree | e7d47f0b137fcb987ca298616bbaf083df6feb97 /client/application.cpp | |
parent | 6a26992410c6bc8824e047e8a844a90d5fae46c1 (diff) | |
download | spice-c909198eca202f1a2424ce739c541a740dd61281.tar.gz spice-c909198eca202f1a2424ce739c541a740dd61281.tar.xz spice-c909198eca202f1a2424ce739c541a740dd61281.zip |
client: support clipboard/selection-owner model (v2)
-includes most of Hans' review fixes (up to the SelectionRequest comment [4]) & X11 wips sent by Hans (10x!)
-use the VD_AGENT_CLIPBOARD_* types in the platform code
-add ifs for VD_AGENT_CAP_CLIPBOARD_BY_DEMAND in both sides
-support the GRAB/REQUEST/DATA/RELEASE verbs in both ways
-pasting clipboard data is now "only-by-demand" from both sides (client and agent), whose behavior is symmetric
-client and agent don't read or send the contents of the clipboard unnecessarily (e.g. copy, internal paste, repeating paste, focus change)
-set client as clipboard listener instead of application
-add atexit(cleanup) in win platform
linux:
-instead of clipboard atom selection instead of XA_PRIMARY
-enable USE_XRANDR_1_2 and support clipboard in MultyMonScreen
-send utf8 with no null termination, remove ++size
-add xfixes in configure.ac & Makefile.am
windows:
-bonus: support image cut & paste, currently only on windows
not done yet:
-clipboards formats are still uint32_t, not mime types stores as strings
-platform_win is still used, not the root window
-not replaced the ugly windows CF_DIB in agent/winclient
Diffstat (limited to 'client/application.cpp')
-rw-r--r-- | client/application.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client/application.cpp b/client/application.cpp index 12580679..c5d34ff0 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1318,12 +1318,6 @@ 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() |