From 5953a67d3a157deebf9f00d9fb8853e1e8371162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Mon, 14 Oct 2019 09:21:27 +0200 Subject: [PATCH] Fixed support for deathkey on UDS --- guacamole-tunnel/pom.xml | 4 ++-- guacamole-tunnel/src/main/webapp/scripts/client-ui.js | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/guacamole-tunnel/pom.xml b/guacamole-tunnel/pom.xml index 0a443e6b4..d5a3037ca 100644 --- a/guacamole-tunnel/pom.xml +++ b/guacamole-tunnel/pom.xml @@ -81,14 +81,14 @@ org.apache.guacamole guacamole-common - 0.9.14 + 1.0.0 org.apache.guacamole guacamole-common-js - 0.9.14 + 1.0.0 zip runtime diff --git a/guacamole-tunnel/src/main/webapp/scripts/client-ui.js b/guacamole-tunnel/src/main/webapp/scripts/client-ui.js index afb5b6305..09b864611 100644 --- a/guacamole-tunnel/src/main/webapp/scripts/client-ui.js +++ b/guacamole-tunnel/src/main/webapp/scripts/client-ui.js @@ -263,7 +263,7 @@ GuacUI.Client = { "min_zoom" : 1, "max_zoom" : 3, - "connectionName" : "Guacamole", + "connectionName" : "UDS Remote Connection", "attachedClient" : null, /* Mouse emulation */ @@ -1433,7 +1433,11 @@ GuacUI.Client.attach = function(guac) { * Route document-level keyboard events to the client. */ + var sink = new Guacamole.InputSink(); + document.body.appendChild(sink.getElement()); + var keyboard = new Guacamole.Keyboard(document); + keyboard.listenTo(sink.getElement()); var show_keyboard_gesture_possible = true; function __send_key(pressed, keysym) {