From 4dd7a84dfbee049db8646489e75a1b6fedd37d96 Mon Sep 17 00:00:00 2001 From: Virtually Nick Date: Thu, 4 Jul 2024 12:23:48 -0400 Subject: [PATCH] GUACAMOLE-1196: Add option to disable display resize. --- .../main/resources/org/apache/guacamole/protocols/vnc.json | 5 +++++ guacamole/src/main/frontend/src/translations/en.json | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json index 651d943fd9..62c34ac970 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json @@ -43,6 +43,11 @@ "type" : "BOOLEAN", "options" : [ "true" ] }, + { + "name" : "disable-display-resize", + "type" : "BOOLEAN", + "options" : [ "true" ] + }, { "name" : "swap-red-blue", "type" : "BOOLEAN", diff --git a/guacamole/src/main/frontend/src/translations/en.json b/guacamole/src/main/frontend/src/translations/en.json index 7b5e55c65b..cfa0a01539 100644 --- a/guacamole/src/main/frontend/src/translations/en.json +++ b/guacamole/src/main/frontend/src/translations/en.json @@ -906,9 +906,10 @@ "FIELD_HEADER_CURSOR" : "Cursor:", "FIELD_HEADER_DEST_HOST" : "Destination host:", "FIELD_HEADER_DEST_PORT" : "Destination port:", - "FIELD_HEADER_DISABLE_COPY" : "Disable copying from remote desktop:", - "FIELD_HEADER_DISABLE_PASTE" : "Disable pasting from client:", - "FIELD_HEADER_DISABLE_SERVER_INPUT" : "Disable server input when client is connected:", + "FIELD_HEADER_DISABLE_COPY" : "Disable copying from remote desktop:", + "FIELD_HEADER_DISABLE_DISPLAY_RESIZE" : "Disable resize of remote display:", + "FIELD_HEADER_DISABLE_PASTE" : "Disable pasting from client:", + "FIELD_HEADER_DISABLE_SERVER_INPUT" : "Disable server input when client is connected:", "FIELD_HEADER_ENABLE_AUDIO" : "Enable audio:", "FIELD_HEADER_ENABLE_SFTP" : "Enable SFTP:", "FIELD_HEADER_FORCE_LOSSLESS" : "Force lossless compression:",