This keeps an XSpice server from spin looping, which it will do if data is presented, but num_send_tokens == 0. Signed-off-by: Jeremy White <jwhite@xxxxxxxxxxxxxxx> --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 91f1963..e487551 100644 --- a/main.js +++ b/main.js @@ -204,7 +204,7 @@ SpiceMainConn.prototype.connect_agent = function() { this.agent_connected = true; - var agent_start = new SpiceMsgcMainAgentStart(0); + var agent_start = new SpiceMsgcMainAgentStart(~0); var mr = new SpiceMiniData(); mr.build_msg(SPICE_MSGC_MAIN_AGENT_START, agent_start); this.send_msg(mr); -- 1.7.10.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel