[orca] 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] Only update locusOfFocus to context replicant if locusOfFocus is a zombie
- Date: Sat, 23 Apr 2016 21:53:50 +0000 (UTC)
commit 43f8a45bcc4fdd89ee51a6563e5f3aabfc1f3720
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]