[orca] Be sure we allow Caps Lock to be toggled when it is the Orca modifier and bypass mode is enabled
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Be sure we allow Caps Lock to be toggled when it is the Orca modifier and bypass mode is enabled
- Date: Thu, 5 Jan 2012 00:36:36 +0000 (UTC)
commit 3285c1fe5022924b68e10c57a246b82d8b7e02cb
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Jan 4 19:35:32 2012 -0500
Be sure we allow Caps Lock to be toggled when it is the Orca modifier and bypass mode is enabled
src/orca/orca.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index f18d3b9..cccee27 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -818,7 +818,8 @@ def _processKeyboardEvent(event):
# Do any needed xmodmap crap.
global _restoreOrcaKeys
if not isPressedEvent:
- if isOrcaModifier and orca_state.bypassNextCommand:
+ if keyboardEvent.event_string in settings.orcaModifierKeys \
+ and orca_state.bypassNextCommand:
_restoreXmodmap()
_restoreOrcaKeys = True
elif _restoreOrcaKeys and not orca_state.bypassNextCommand:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]