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