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

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

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