[orca] Always treat ROLE_APPLICATION objects as having size
- From: Joanmarie Diggs <joanied src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [orca] Always treat ROLE_APPLICATION objects as having size
 
- Date: Mon, 30 Jul 2018 23:10:38 +0000 (UTC)
 
commit e5889efadbe840ef993e7f2b0fc0ff707dcfaa6e
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Jul 30 19:09:07 2018 -0400
    Always treat ROLE_APPLICATION objects as having size
 src/orca/script_utilities.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index a581eacba..61d47f193 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -2229,6 +2229,9 @@ class Utilities:
         if not obj:
             return False
 
+        if obj.getRole() == pyatspi.ROLE_APPLICATION:
+            return False
+
         try:
             extents = obj.queryComponent().getExtents(pyatspi.DESKTOP_COORDS)
         except:
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]