[orca] Tweak for the fake-window-event removal: Only present the window if we have no locus of focus.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Tweak for the fake-window-event removal: Only present the window if we have no locus of focus.
- Date: Tue, 27 Dec 2011 02:21:16 +0000 (UTC)
commit 9e0cf9c46144233d73990a5107337e64986aa609
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Dec 26 21:19:46 2011 -0500
Tweak for the fake-window-event removal: Only present the window if we have no locus of focus.
src/orca/orca.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index dfe915d..a6912f3 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -1823,8 +1823,8 @@ def main():
script = orca_state.activeScript
if script:
window = script.utilities.activeWindow()
- if window:
- setLocusOfFocus(None, window, force=True)
+ if window and not orca_state.locusOfFocus:
+ setLocusOfFocus(None, window)
# Check to see if the user wants the configuration GUI. It's
# done here so that the user's existing preferences can be used
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]