diff options
author | Jeremy White <jwhite@codeweavers.com> | 2015-06-03 11:45:18 -0500 |
---|---|---|
committer | Jeremy White <jwhite@codeweavers.com> | 2015-06-04 15:41:41 -0500 |
commit | 84562db7e4d978486343fbc6146f93f82606d169 (patch) | |
tree | b6c83e0f40584fdfbbfce58bcf6ff72a208ad767 /spiceconn.js | |
parent | e542bda56fa204631b44d100ffe2cc560113857d (diff) |
Implement support for sized data streams.
Diffstat (limited to 'spiceconn.js')
-rw-r--r-- | spiceconn.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spiceconn.js b/spiceconn.js index ec42d8d..b7043c0 100644 --- a/spiceconn.js +++ b/spiceconn.js @@ -133,6 +133,10 @@ SpiceConn.prototype = msg.channel_caps.push( (1 << SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS) ); + else if (msg.channel_type == SPICE_CHANNEL_DISPLAY) + msg.channel_caps.push( + (1 << SPICE_DISPLAY_CAP_SIZED_STREAM) + ); hdr.size = msg.buffer_size(); |