[orca/gnome-3-14] Attempt to be smarter about toggling focus mode after a page loads
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-14] Attempt to be smarter about toggling focus mode after a page loads
- Date: Wed, 12 Nov 2014 01:24:13 +0000 (UTC)
commit 9e6bd433856d1e8862308e449e50b2bf19797da8
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Nov 11 18:08:45 2014 -0500
Attempt to be smarter about toggling focus mode after a page loads
src/orca/scripts/toolkits/Gecko/script.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index ff3da14..8674fba 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1050,8 +1050,8 @@ class Script(default.Script):
if not finishedLoading:
return
- if not self._focusModeIsSticky:
- self._inFocusMode = False
+ if self.useFocusMode(newFocus) != self._inFocusMode:
+ self.togglePresentationMode(None)
# Store the document frame otherwise the first time it gains focus (e.g.
# the first time the user arrows off of a link into non-focusable text),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]