Agent can now send just the coordinates of the window that has changed. In the case window has been hidden or closed, width of the window must be set to 0. This reduces CPU load because the agent doesn't have to cycle through all the windows and decide which to send. It mainly concerns Windows agent as there are often hundreds of windows and majority of them is not visible to the user. --- spice/vd_agent.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 235f152..056817a 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -93,6 +93,7 @@ enum { VD_AGENT_AUDIO_VOLUME_SYNC, VD_AGENT_SEAMLESS_MODE, VD_AGENT_SEAMLESS_MODE_LIST, + VD_AGENT_SEAMLESS_MODE_CHANGE, VD_AGENT_END_MESSAGE, }; @@ -258,6 +259,7 @@ typedef struct SPICE_ATTR_PACKED VDAgentSeamlessModeWindow { int32_t y; uint32_t w; uint32_t h; + uint64_t id; } VDAgentSeamlessModeWindow; typedef struct SPICE_ATTR_PACKED VDAgentSeamlessModeList { -- 2.13.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel