diff options
Diffstat (limited to 'spice/vd_agent.h')
-rw-r--r-- | spice/vd_agent.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 445b458..cdf2adf 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -78,6 +78,8 @@ enum { VD_AGENT_CLIENT_DISCONNECTED, VD_AGENT_MAX_CLIPBOARD, VD_AGENT_AUDIO_VOLUME_SYNC, + VD_AGENT_SEAMLESS_MODE, + VD_AGENT_SEAMLESS_MODE_LIST, VD_AGENT_END_MESSAGE, }; @@ -214,6 +216,22 @@ typedef struct SPICE_ATTR_PACKED VDAgentAudioVolumeSync { uint16_t volume[0]; } VDAgentAudioVolumeSync; +typedef struct SPICE_ATTR_PACKED VDAgentSeamlessMode { + uint8_t enabled; +} VDAgentSeamlessMode; + +typedef struct SPICE_ATTR_PACKED VDAgentSeamlessModeWindow { + int32_t x; + int32_t y; + uint32_t w; + uint32_t h; +} VDAgentSeamlessModeWindow; + +typedef struct SPICE_ATTR_PACKED VDAgentSeamlessModeList { + uint32_t num_of_windows; + VDAgentSeamlessModeWindow windows[0]; +} VDAgentSeamlessModeList; + enum { VD_AGENT_CAP_MOUSE_STATE = 0, VD_AGENT_CAP_MONITORS_CONFIG, @@ -228,6 +246,7 @@ enum { VD_AGENT_CAP_MAX_CLIPBOARD, VD_AGENT_CAP_AUDIO_VOLUME_SYNC, VD_AGENT_CAP_MONITORS_CONFIG_POSITION, + VD_AGENT_CAP_SEAMLESS_MODE, VD_AGENT_END_CAP, }; |