[orca/gnome-3-20] Only update locusOfFocus to context replicant if locusOfFocus is a zombie
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-20] Only update locusOfFocus to context replicant if locusOfFocus is a zombie
- Date: Sun, 24 Apr 2016 04:21:29 +0000 (UTC)
commit 356abb5ffe2cc9463c23c8bdfadfbe9cfcd974c4
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Apr 23 17:51:53 2016 -0400
Only update locusOfFocus to context replicant if locusOfFocus is a zombie
src/orca/scripts/web/script.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index a82814b..fa82fe2 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1411,7 +1411,7 @@ class Script(default.Script):
obj, offset = self.utilities.getCaretContext(getZombieReplicant=False)
if self.utilities.isZombie(obj):
obj, offset = self.utilities.getCaretContext(getZombieReplicant=True)
- if obj:
+ if obj and self.utilities.isZombie(orca_state.locusOfFocus):
orca.setLocusOfFocus(event, obj, notifyScript=False)
contextDocument = self.utilities.getDocumentForObject(obj)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]