Changes since v1: - keep old Xlib implementation for now - make get_type_from_atom() more readable - refactor of weak ref functions (new_request_ref(), free_request_ref(), ...) - pack selection-dependant variables from VDAgentClipboards into struct Selection - several renames - DataRetrieval --> AppRequest - data_retrievals --> requests_from_apps - data_requests --> requests_from_client - sel_from_clip --> sel_id_from_clip - minor style improvements Jakub Janků (1): vdagent: add GTK+ clipboard handling Makefile.am | 6 + configure.ac | 11 ++ src/vdagent/clipboard.c | 430 ++++++++++++++++++++++++++++++++++++++++++++++++ src/vdagent/clipboard.h | 42 +++++ src/vdagent/vdagent.c | 53 +++++- src/vdagent/x11-priv.h | 20 +++ src/vdagent/x11.c | 30 +++- src/vdagent/x11.h | 6 + 8 files changed, 590 insertions(+), 8 deletions(-) create mode 100644 src/vdagent/clipboard.c create mode 100644 src/vdagent/clipboard.h -- 2.14.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel