[orca] Perform more aggressive checks on the windows of widgets claiming focus
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Perform more aggressive checks on the windows of widgets claiming focus
- Date: Sat, 11 Mar 2017 16:43:18 +0000 (UTC)
commit 67629dae62732d3f0decc0c1733a92bdadb9bb38
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Mar 11 11:40:10 2017 -0500
Perform more aggressive checks on the windows of widgets claiming focus
Because MATE Panel....
src/orca/scripts/default.py | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index de7f5e1..11deee8 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2441,14 +2441,8 @@ class Script(script.Script):
return
window = self.utilities.topLevelObject(obj)
- if window:
- try:
- iconified = window.getState().contains(pyatspi.STATE_ICONIFIED)
- except:
- return
-
- if iconified:
- return
+ if not self.utilities.canBeActiveWindow(window):
+ return
try:
childCount = obj.childCount
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]