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



commit bd33030edcffd66730b3b77e71a7b379e5d592c1
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Jun 28 21:13:12 2018 -0400

    Treat menus 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 50aa9fca2..0d5660a46 100644
--- a/src/orca/mouse_review.py
+++ b/src/orca/mouse_review.py
@@ -167,6 +167,7 @@ class _ItemContext:
         roles = [pyatspi.ROLE_DIALOG,
                  pyatspi.ROLE_FRAME,
                  pyatspi.ROLE_LAYERED_PANE,
+                 pyatspi.ROLE_MENU,
                  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]