diff --git a/include/rfb.js b/include/rfb.js index 6c6bc3f..13bfe1f 100644 --- a/include/rfb.js +++ b/include/rfb.js @@ -1,6 +1,7 @@ /* * noVNC: HTML5 VNC client * Copyright (C) 2012 Joel Martin + * Copyright (C) 2013 Samuel Mannehed for Cendio AB * Licensed under MPL 2.0 (see LICENSE.txt) * * See README.md for usage and integration instructions. @@ -1594,33 +1599,36 @@ encHandlers.ext_desktop_size = function () { //Util.Debug(">> ext_desktop_size"); if (ws.rQwait("ext_desktop_size", 4)) { return false; } + supportsSetDesktopSize = true; + var number_of_screens = ws.rQshift8(); ws.rQshift8(); // padding ws.rQshift16(); // padding for (var i=0; i