KASM-5736 fix scrolling on secondary screens injecting text
This commit is contained in:
parent
bbc685aa0f
commit
8527c9f331
|
@ -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(() => {});
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue