mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-04 19:39:39 +00:00
Update all state on session size change
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user