From 87c3811b451e03041630f8b4cebe3b6ee23d9102 Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Mon, 1 Jun 2015 15:33:17 +0100 Subject: [PATCH] Revert "CA-153347: Send Ctrl-Alt-Del is available for dom0 console and for non-running VMs" This reverts commit 7608caafd79487dba8a5880b788e2f919d857288. --- XenAdmin/ConsoleView/VNCTabView.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/XenAdmin/ConsoleView/VNCTabView.cs b/XenAdmin/ConsoleView/VNCTabView.cs index f31d47713..91d79fa67 100644 --- a/XenAdmin/ConsoleView/VNCTabView.cs +++ b/XenAdmin/ConsoleView/VNCTabView.cs @@ -1260,9 +1260,7 @@ namespace XenAdmin.ConsoleView } scaleCheckBox.Visible = !rdp || vncScreen.UseVNC; - - sendCAD.Enabled = source != null && !source.is_control_domain && source.power_state == vm_power_state.Running && (!rdp || vncScreen.UseVNC); - + sendCAD.Enabled = !rdp || vncScreen.UseVNC; FocusVNC(); ignoreScaleChange = true; if (!Properties.Settings.Default.PreserveScaleWhenSwitchBackToVNC) @@ -1353,7 +1351,7 @@ namespace XenAdmin.ConsoleView { //No need to reenable toggleConsoleButton, polling will do it. multipleDvdIsoList1.Enabled = true; - sendCAD.Enabled = source != null && !source.is_control_domain && source.power_state == vm_power_state.Running; + sendCAD.Enabled = true; } internal void RdpDisconnectedHandler(object sender, EventArgs e)