From c8e7b5f3283461e6e24187fd17c22a08e44b171e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 21 Nov 2014 16:23:30 -0800 Subject: [PATCH 1/2] GUAC-865: Just send actual dimensions as the optimal size. Do not force 600x600. --- guacamole/src/main/webapp/scripts/client-ui.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/guacamole/src/main/webapp/scripts/client-ui.js b/guacamole/src/main/webapp/scripts/client-ui.js index 78649c582..30b06b6f7 100644 --- a/guacamole/src/main/webapp/scripts/client-ui.js +++ b/guacamole/src/main/webapp/scripts/client-ui.js @@ -1171,13 +1171,6 @@ GuacUI.Client.connect = function() { var optimal_width = window.innerWidth * pixel_density; var optimal_height = window.innerHeight * pixel_density; - // Scale width/height to be at least 600x600 - if (optimal_width < 600 || optimal_height < 600) { - var scale = Math.max(600 / optimal_width, 600 / optimal_height); - optimal_width = optimal_width * scale; - optimal_height = optimal_height * scale; - } - // Get entire query string, and pass to connect(). // Normally, only the "id" parameter is required, but // all parameters should be preserved and passed on for From 02189e3d7cb6e623cce183302733b155a6473841 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 21 Nov 2014 16:46:22 -0800 Subject: [PATCH 2/2] GUAC-865: Add RDP DPI parameter. --- .../resources/net/sourceforge/guacamole/net/protocols/rdp.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/guacamole/src/main/resources/net/sourceforge/guacamole/net/protocols/rdp.xml b/guacamole/src/main/resources/net/sourceforge/guacamole/net/protocols/rdp.xml index 354c6ead7..ebe82ae8f 100644 --- a/guacamole/src/main/resources/net/sourceforge/guacamole/net/protocols/rdp.xml +++ b/guacamole/src/main/resources/net/sourceforge/guacamole/net/protocols/rdp.xml @@ -10,6 +10,7 @@ +