From b92871f11e5ffcb4a611b46aad7c60c025cb0ce4 Mon Sep 17 00:00:00 2001 From: Virtually Nick Date: Thu, 2 May 2024 08:05:17 -0400 Subject: [PATCH] GUACAMOLE-1267: Add client-side setting for disabling server input. --- .../main/resources/org/apache/guacamole/protocols/vnc.json | 5 +++++ guacamole/src/main/frontend/src/translations/en.json | 5 +++-- 2 files changed, 8 insertions(+), 2 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 3c87f99e1a..651d943fd9 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 @@ -38,6 +38,11 @@ "type" : "BOOLEAN", "options" : [ "true" ] }, + { + "name" : "disable-server-input", + "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 76b22d3c3d..39b19691c6 100644 --- a/guacamole/src/main/frontend/src/translations/en.json +++ b/guacamole/src/main/frontend/src/translations/en.json @@ -904,8 +904,9 @@ "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_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_ENABLE_AUDIO" : "Enable audio:", "FIELD_HEADER_ENABLE_SFTP" : "Enable SFTP:", "FIELD_HEADER_FORCE_LOSSLESS" : "Force lossless compression:",