[orca] Event manager: Ignore state-changed:sensitive from inactive apps
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Event manager: Ignore state-changed:sensitive from inactive apps
- Date: Thu, 21 Apr 2022 10:38:27 +0000 (UTC)
commit 045941f0e8438a13a7e5e0527f6c39b5be379f24
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Apr 21 12:37:14 2022 +0200
Event manager: Ignore state-changed:sensitive from inactive apps
src/orca/event_manager.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 81f756e8f..bc174185c 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -181,7 +181,8 @@ class EventManager:
return True
script = orca_state.activeScript
- if event.type.startswith('object:children-changed'):
+ if event.type.startswith('object:children-changed') \
+ or event.type.startswith('object:state-changed:sensitive'):
if not script:
msg = 'EVENT MANAGER: Ignoring because there is no active script'
debug.println(debug.LEVEL_INFO, msg, True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]