mirror of
https://git.proxmox.com/git/mirror_novnc
synced 2025-08-16 23:41:17 +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,
|
'onClipboard': UI.clipboardReceive,
|
||||||
'onBell': UI.bell,
|
'onBell': UI.bell,
|
||||||
'onFBUComplete': UI.initialResize,
|
'onFBUComplete': UI.initialResize,
|
||||||
'onFBResize': UI.updateViewDrag,
|
'onFBResize': UI.updateSessionSize,
|
||||||
'onDesktopName': UI.updateDesktopName});
|
'onDesktopName': UI.updateDesktopName});
|
||||||
return true;
|
return true;
|
||||||
} catch (exc) {
|
} catch (exc) {
|
||||||
@ -1576,6 +1576,11 @@ var UI;
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
updateSessionSize: function(rfb, width, height) {
|
||||||
|
UI.updateViewClip();
|
||||||
|
UI.updateViewDrag();
|
||||||
|
},
|
||||||
|
|
||||||
updateDesktopName: function(rfb, name) {
|
updateDesktopName: function(rfb, name) {
|
||||||
UI.desktopName = name;
|
UI.desktopName = name;
|
||||||
// Display the desktop name in the document title
|
// Display the desktop name in the document title
|
||||||
|
Loading…
Reference in New Issue
Block a user