From fce54be8df7e7b9d81357c1d8bb1b593e84e5a61 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 23 Oct 2012 00:40:22 -0700 Subject: [PATCH] Pass width/height to tunnel. --- guacamole/src/main/webapp/client.xhtml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guacamole/src/main/webapp/client.xhtml b/guacamole/src/main/webapp/client.xhtml index b8779813d..34e4ec4bc 100644 --- a/guacamole/src/main/webapp/client.xhtml +++ b/guacamole/src/main/webapp/client.xhtml @@ -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); }