1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed remote desktop not sending keys.

This commit is contained in:
Ylian Saint-Hilaire 2020-12-01 23:16:17 -08:00
parent ceac7cd4dc
commit 74caeb99bf
4 changed files with 455 additions and 447 deletions

View file

@ -7297,6 +7297,7 @@
// Remote desktop special key combos for Windows
function deskSendKeys() {
Q('DeskWD').blur();
if (xxdialogMode || desktop == null || desktop.State != 3) return;
var ks = Q('deskkeys').value;
if (ks == 0) { // WIN+Down arrow
@ -7468,6 +7469,7 @@
// Show process dialogs
function toggleDeskTools() {
Q('DeskToolsButton').blur();
if (xxdialogMode) return;
if (QS('DeskTools').display == 'none') {
QV('DeskTools', true);
@ -7595,7 +7597,7 @@
}
// Toggle mouse and keyboard input
function toggleKvmControl() { putstore('DeskControl', (Q('DeskControl').checked?1:0)); QS('DeskControlSpan').color = Q('DeskControl').checked?null:'red'; }
function toggleKvmControl() { Q('DeskControl').blur(); putstore('DeskControl', (Q('DeskControl').checked?1:0)); QS('DeskControlSpan').color = Q('DeskControl').checked?null:'red'; }
// Toggle desktop session recording
function deskRecordSession() {