[orca] Also fall back on active window when presenting whereAmI information
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Also fall back on active window when presenting whereAmI information
- Date: Sun, 29 Apr 2018 02:10:16 +0000 (UTC)
commit 2e12e00ab6b61f94d480f16c327598ec8497dd32
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Apr 28 22:09:40 2018 -0400
Also fall back on active window when presenting whereAmI information
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 adf61a2..c4d0871 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2012,6 +2012,9 @@ class Script(script.Script):
self.spellcheck.presentErrorDetails(not basicOnly)
obj = orca_state.locusOfFocus
+ if self.utilities.isDead(obj):
+ obj = orca_state.activeWindow
+
if not obj or self.utilities.isDead(obj):
self.presentMessage(messages.LOCATION_NOT_FOUND_FULL)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]