[orca] Ensure mouse button events are always processable by the scripts



commit e88d23613bf9eeaceb310a11446e627d4677a50b
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon May 25 18:09:33 2020 -0400

    Ensure mouse button events are always processable by the scripts

 src/orca/event_manager.py | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 20277e266..7761e846e 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -125,6 +125,11 @@ class EventManager:
             debug.println(debug.LEVEL_INFO, msg, True)
             return False
 
+        if event.type.startswith('mouse:button'):
+            msg = 'EVENT MANAGER: Not ignoring because event type is never ignored'
+            debug.println(debug.LEVEL_INFO, msg, True)
+            return False
+
         script = orca_state.activeScript
         if event.type.startswith('object:children-changed'):
             if not script:


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