[orca] Ignore children-changed events from layered panes
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ignore children-changed events from layered panes
- Date: Fri, 20 Apr 2018 15:47:58 +0000 (UTC)
commit 244b31161a5629daa1a11fb25796357f5fd9c37d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 20 11:46:28 2018 -0400
Ignore children-changed events from layered panes
Event floods are bad.
src/orca/event_manager.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 21503df..5aaa1b6 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -168,6 +168,7 @@ class EventManager:
if event.type.startswith('object:children-changed:add'):
if role in [pyatspi.ROLE_MENU,
+ pyatspi.ROLE_LAYERED_PANE,
pyatspi.ROLE_MENU_ITEM]:
msg = 'EVENT MANAGER: Ignoring event type due to role'
debug.println(debug.LEVEL_INFO, msg, True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]