summaryrefslogtreecommitdiff
path: root/spiceconn.js
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2015-06-03 11:45:18 -0500
committerJeremy White <jwhite@codeweavers.com>2015-06-04 15:41:41 -0500
commit84562db7e4d978486343fbc6146f93f82606d169 (patch)
treeb6c83e0f40584fdfbbfce58bcf6ff72a208ad767 /spiceconn.js
parente542bda56fa204631b44d100ffe2cc560113857d (diff)
Implement support for sized data streams.
Diffstat (limited to 'spiceconn.js')
-rw-r--r--spiceconn.js4
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();