[orca] Check for minimized windows in mouse review



commit 832b475bbb7cc9c26625f4d439d8cd6b5b8eedfa
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jun 27 13:47:24 2018 -0400

    Check for minimized windows in mouse review

 src/orca/mouse_review.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/orca/mouse_review.py b/src/orca/mouse_review.py
index 56e5796ae..5961d4e65 100644
--- a/src/orca/mouse_review.py
+++ b/src/orca/mouse_review.py
@@ -292,6 +292,9 @@ class MouseReviewer:
 
         window = None
         for w in self._windows:
+            if w.is_minimized():
+                continue
+
             x, y, width, height = w.get_geometry()
             if x <= pX <= x + width and y <= pY <= y + height:
                 window = w


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