mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Send size event on window resize.
This commit is contained in:
@@ -722,6 +722,11 @@ GuacamoleUI.attach = function(guac) {
|
|||||||
guac.disconnect();
|
guac.disconnect();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Send size events on resize
|
||||||
|
window.onresize = function() {
|
||||||
|
guac.sendSize(window.innerWidth, window.innerHeight);
|
||||||
|
};
|
||||||
|
|
||||||
// Handle clipboard events
|
// Handle clipboard events
|
||||||
GuacamoleUI.clipboard.onchange = function() {
|
GuacamoleUI.clipboard.onchange = function() {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user