[orca] Don't reclaim scripts upon window creation
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't reclaim scripts upon window creation
- Date: Wed, 21 Mar 2018 17:20:40 +0000 (UTC)
commit 3db10145c34972d2436f2efcf5a4e13db627c47d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Mar 21 13:19:38 2018 -0400
Don't reclaim scripts upon window creation
It can result in our reclaiming the current app script
src/orca/event_manager.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 5ee8b4a..3f72366 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -651,7 +651,7 @@ class EventManager:
debug.printException(debug.LEVEL_WARNING)
return
- if eType.startswith("window"):
+ if eType.startswith("window:") and not eType.endswith("create"):
_scriptManager.reclaimScripts()
if eType.startswith("object:state-changed:active"):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]