[orca] Notify script when locusOfFocus is set from window to contenteditable objects
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Notify script when locusOfFocus is set from window to contenteditable objects
- Date: Sun, 28 Feb 2016 01:35:30 +0000 (UTC)
commit 1a40154eb3461ba80eb4090f6c2e261c45132e3d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Feb 27 20:33:39 2016 -0500
Notify script when locusOfFocus is set from window to contenteditable objects
src/orca/scripts/web/script.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index b510fca..1560138 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1255,7 +1255,8 @@ class Script(default.Script):
if self.utilities.isContentEditableWithEmbeddedObjects(event.source):
msg = "WEB: In content editable with embedded objects"
debug.println(debug.LEVEL_INFO, msg, True)
- orca.setLocusOfFocus(event, event.source, False)
+ notify = orca_state.locusOfFocus == orca_state.activeWindow
+ orca.setLocusOfFocus(event, event.source, notify)
self.utilities.setCaretContext(obj, offset)
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]