From 8527c9f33175ca292c60028397728de0ac52ce02 Mon Sep 17 00:00:00 2001 From: mattmcclaskey Date: Thu, 14 Mar 2024 11:21:51 -0400 Subject: [PATCH] KASM-5736 fix scrolling on secondary screens injecting text --- app/ui_screen.js | 2 +- core/rfb.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/ui_screen.js b/app/ui_screen.js index 0bfa1cc0..873e3d48 100644 --- a/app/ui_screen.js +++ b/app/ui_screen.js @@ -211,7 +211,7 @@ const UI = { if (supportsBinaryClipboard()) { // explicitly request permission to the clipboard navigator.permissions.query({ name: "clipboard-read" }) - .then((result) => { Log.Debug('binary clipboard enabled') }); + .then((result) => { Log.Debug('binary clipboard enabled') }) .catch(() => {}); } }, diff --git a/core/rfb.js b/core/rfb.js index 2a95b2ea..03703c82 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -1872,6 +1872,7 @@ export default class RFB extends EventTargetMixin { this._mouseLastScreenIndex = event.data.screenIndex; this._mousePos = { 'x': coords[0], 'y': coords[1] }; RFB.messages.pointerEvent(this._sock, this._mousePos.x, this._mousePos.y, 0, event.data.args[2], event.data.args[3]); + break; case 'keyEvent': RFB.messages.keyEvent(this._sock, ...event.data.args); break;