diff --git a/app/ui.js b/app/ui.js index b78207e..e5b6f56 100644 --- a/app/ui.js +++ b/app/ui.js @@ -343,7 +343,7 @@ var UI; 'onClipboard': UI.clipboardReceive, 'onBell': UI.bell, 'onFBUComplete': UI.initialResize, - 'onFBResize': UI.updateViewDrag, + 'onFBResize': UI.updateSessionSize, 'onDesktopName': UI.updateDesktopName}); return true; } catch (exc) { @@ -1576,6 +1576,11 @@ var UI; } }, + updateSessionSize: function(rfb, width, height) { + UI.updateViewClip(); + UI.updateViewDrag(); + }, + updateDesktopName: function(rfb, name) { UI.desktopName = name; // Display the desktop name in the document title