[orca] Set the active window if it is null when locusOfFocus changes
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Set the active window if it is null when locusOfFocus changes
- Date: Tue, 7 Feb 2017 09:32:59 +0000 (UTC)
commit 1d5b15e22be9c50a4a35242fd9341acf367b8ea9
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Feb 7 04:31:15 2017 -0500
Set the active window if it is null when locusOfFocus changes
src/orca/scripts/default.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 55b849c..b4ee9ed 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -821,6 +821,9 @@ class Script(script.Script):
if self.flatReviewContext:
self.toggleFlatReviewMode()
+ if not orca_state.activeWindow:
+ orca_state.activeWindow = self.utilities.topLevelObject(newLocusOfFocus)
+
self.updateBraille(newLocusOfFocus)
shouldNotInterrupt = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]