[orca] Treat layered panes as containers for the purpose of mouse review



commit c897fa24b22672a9d66c234c4837d2878f7d1945
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jun 27 10:55:27 2018 -0400

    Treat layered panes as containers for the purpose of mouse review

 src/orca/mouse_review.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/orca/mouse_review.py b/src/orca/mouse_review.py
index 4caaedb66..56e5796ae 100644
--- a/src/orca/mouse_review.py
+++ b/src/orca/mouse_review.py
@@ -157,6 +157,7 @@ class _ItemContext:
     def _getContainer(self):
         roles = [pyatspi.ROLE_DIALOG,
                  pyatspi.ROLE_FRAME,
+                 pyatspi.ROLE_LAYERED_PANE,
                  pyatspi.ROLE_PAGE_TAB,
                  pyatspi.ROLE_WINDOW]
         isContainer = lambda x: x and x.getRole() in roles


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]