[orca] Ensure mouse button events are always processable by the scripts
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ensure mouse button events are always processable by the scripts
- Date: Mon, 25 May 2020 22:10:36 +0000 (UTC)
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]