[orca] Never ignore window events - even if they come from invalid/defunct objects



commit f32e69377324161d9f1f65bd6f2b3e7c10dc08da
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Jun 6 18:19:43 2015 -0400

    Never ignore window events - even if they come from invalid/defunct objects
    
    This won't make Orca process them, but it should make them stand out more
    for the purpose of debugging.

 src/orca/event_manager.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 4e29d0f..6a92068 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -101,6 +101,9 @@ class EventManager:
         if list(filter(event.type.startswith, self._ignoredEvents)):
             return True
 
+        if event.type.startswith('window'):
+            return False
+
         # This should ultimately be changed as there are valid reasons
         # to handle these events at the application level.
         if event.type.startswith('object:children-changed:remove') \


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