mirror of
https://git.proxmox.com/git/mirror_novnc
synced 2025-08-15 17:02:33 +00:00
Update all state on session size change
This commit is contained in:
parent
02329ab19c
commit
18d21e3621
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user