[orca] Consume modifier keys in learn mode



commit 6a2cd62cc714c42a47957385dd8d2a9c2012c75a
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Feb 27 19:57:09 2016 -0500

    Consume modifier keys in learn mode

 src/orca/orca.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index 632c0ed..aee13a1 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -247,7 +247,7 @@ def _processKeyboardEvent(event):
         script.presentationInterrupt()
     script.presentKeyboardEvent(keyboardEvent)
     if keyboardEvent.isModifierKey() and not isOrcaModifier:
-        return False
+        return orca_state.learnModeEnabled
  
     # Special modes.
     if not isPressedEvent and keyboardEvent.event_string == "Escape":


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]