Send size event on window resize.
This commit is contained in:
1 parent
a6435f7c05
commit
d5d4d506c0
1 file changed
+5
@@ -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