Commit 458c4649 authored by Joanmarie Diggs's avatar Joanmarie Diggs

Ignore busy-changed events from non-document objects which we're not in

parent 65ab9ffc
......@@ -1293,6 +1293,12 @@ class Script(default.Script):
debug.println(debug.LEVEL_INFO, msg, True)
return False
if event.source.getRole() != pyatspi.ROLE_DOCUMENT_WEB \
and not self.utilities.isOrDescendsFrom(orca_state.locusOfFocus, event.source):
msg = "WEB: Ignoring: Not document and not something we're in"
debug.println(debug.LEVEL_INFO, msg, True)
return True
if self.utilities.getDocumentForObject(event.source.parent):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment