[orca] Event Manager: Add window:activate to spam-clearing triggers
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Event Manager: Add window:activate to spam-clearing triggers
- Date: Sun, 13 Jun 2021 16:56:16 +0000 (UTC)
commit 5aa81b18dec16a7b04037ee769b7816dcfce7ab6
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Jun 13 18:54:08 2021 +0200
Event Manager: Add window:activate to spam-clearing triggers
If we're spammed and the active window changes, dump the junk so we
present the window change more quickly.
src/orca/event_manager.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 37b20df8d..f58009652 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -766,6 +766,9 @@ class EventManager:
if event.type.startswith("object:state-changed:focused"):
return event.detail1
+ if event.type.startswith("window:activate"):
+ return True
+
return False
def _pruneEventsDuringFlood(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]