add accel. to switch monitors to pres. console

Change-Id: I86c458f2c0a1c6a6baa6461a44b68c5f48ea55b0
This commit is contained in:
David Tardon
2015-03-12 15:42:23 +01:00
parent 8058189b53
commit c11b6b64f6
2 changed files with 12 additions and 1 deletions

View File

@@ -969,6 +969,14 @@
<value xml:lang="en-US">Shows the Slides Overview</value>
</prop>
</node>
<node oor:name="x" oor:op="replace">
<prop oor:name="Left">
<value xml:lang="en-US">Ctrl-'4'</value>
</prop>
<prop oor:name="Right">
<value xml:lang="en-US">Switches monitors</value>
</prop>
</node>
</node>
</node>
</node>

View File

@@ -1005,7 +1005,7 @@ void PresenterController::HandleNumericKeyPress (
case awt::KeyModifier::MOD1:
// Ctrl-1, Ctrl-2, and Ctrl-3 are used to switch between views
// (slide view, notes view, normal)
// (slide view, notes view, normal). Ctrl-4 switches monitors
mnPendingSlideNumber = -1;
if (mpWindowManager.get() == NULL)
return;
@@ -1020,6 +1020,9 @@ void PresenterController::HandleNumericKeyPress (
case 3:
mpWindowManager->SetViewMode(PresenterWindowManager::VM_SlideOverview);
break;
case 4:
SwitchMonitors();
break;
default:
// Ignore unsupported key.
break;