Update all state on session size change

This commit is contained in:
Pierre Ossman 2016-11-24 12:36:15 +01:00
parent 02329ab19c
commit 18d21e3621

View File

@ -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