[orca] Set window activate time and locusOfFocus for frames in onActiveChanged()
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Set window activate time and locusOfFocus for frames in onActiveChanged()
- Date: Thu, 26 Nov 2015 13:16:25 +0000 (UTC)
commit 5ce1466359bd8118234a160a45f025dfca42ec8b
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Nov 26 08:13:33 2015 -0500
Set window activate time and locusOfFocus for frames in onActiveChanged()
src/orca/scripts/default.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 7d89067..5daee8c 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2110,6 +2110,8 @@ class Script(script.Script):
if event.detail1:
msg = "DEFAULT: Updating active window to event source."
debug.println(debug.LEVEL_INFO, msg)
+ self.windowActivateTime = time.time()
+ orca.setLocusOfFocus(event, event.source)
orca_state.activeWindow = event.source
if self.findCommandRun:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]