[orca] Revert "Treat selection changes like focus changes for the purpose of script activation"



commit 798174c916b1fb3c171644b620538aa4086092df
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Mar 26 14:25:16 2018 -0400

    Revert "Treat selection changes like focus changes for the purpose of script activation"
    
    This reverts commit 3b51f17a2b3624470389dd840736ecbe94c514c1.

 src/orca/event_manager.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index c626b23..21503df 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -612,8 +612,7 @@ class EventManager:
             return True, "window:activate event"
 
         if eType.startswith('focus') \
-           or (eType.startswith('object:state-changed:focused') \
-               or eType.startswith('object:state-changed:selected') \
+           or (eType.startswith('object:state-changed:focused')
                and event.detail1):
             return True, "Event source claimed focus."
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]