Pass width/height to tunnel.

This commit is contained in:
Michael Jumper
2012-10-23 00:40:22 -07:00
parent 75a7d491b3
commit fce54be8df

View File

@@ -145,7 +145,10 @@
// all parameters should be preserved and passed on for
// the sake of authentication.
var connect_string = window.location.search.substring(1);
var connect_string =
window.location.search.substring(1)
+ "&width=" + window.innerWidth
+ "&height=" + window.innerHeight;
guac.connect(connect_string);
}