[orca/gnome-41] Event Manager: Treat text-selection-changed as a flood-pruning event
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-41] Event Manager: Treat text-selection-changed as a flood-pruning event
- Date: Mon, 6 Dec 2021 11:35:39 +0000 (UTC)
commit ba99b84443c9ffb3d0b215c769c064ed6052ec4b
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Dec 6 12:33:29 2021 +0100
Event Manager: Treat text-selection-changed as a flood-pruning event
This follow-up change should further improve performance/responsiveness
with Chromium's find-in-page.
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 aebad94eb..5fc84d878 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -838,6 +838,9 @@ class EventManager:
if event.type.startswith("object:state-changed:selected"):
return event.detail1
+ if event.type.startswith("object:text-selection-changed"):
+ return True
+
if event.type.startswith("window:activate"):
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]