Some agent features can be disabled on the server: * Copy & Paste * File transfer Add a message to give this info to the client, so it doesn't try to use them. Related: https://bugzilla.redhat.com/show_bug.cgi?id=1373725 --- spice/enums.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spice/enums.h b/spice/enums.h index 1d0c2db..dc68fce 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -128,6 +128,13 @@ typedef enum SpicePubkeyType { SPICE_PUBKEY_TYPE_ENUM_END } SpicePubkeyType; +typedef enum SpiceAgentFeaturesFlags { + SPICE_AGENT_FEATURE_COPY_PASTE = (1 << 0), + SPICE_AGENT_FEATURE_FILE_TRANSFER = (1 << 1), + + SPICE_AGENT_FEATURES_FLAGS_MASK = 0x3 +} SpiceAgentFeaturesFlags; + typedef enum SpiceClipType { SPICE_CLIP_TYPE_NONE, SPICE_CLIP_TYPE_RECTS, @@ -466,6 +473,7 @@ enum { SPICE_MSG_MAIN_MIGRATE_BEGIN_SEAMLESS, SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK, SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_NACK, + SPICE_MSG_MAIN_AGENT_FEATURES, SPICE_MSG_END_MAIN }; -- 2.10.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel