[orca] Present event for non-showing object if it's the locusOfFocus



commit 6ef15064fdcc8952bb818a18bb7c268ad41ba71d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Sep 13 12:02:20 2018 -0400

    Present event for non-showing object if it's the locusOfFocus

 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 1257ed1b4..557d1b0ae 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -633,6 +633,9 @@ class Utilities:
         return results
 
     def presentEventFromNonShowingObject(self, event):
+        if event.source == orca_state.locusOfFocus:
+            return True
+
         return False
 
     def grabFocusBeforeRouting(self, obj, offset):


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