Share document Where Am I reports with Remote
This commit is contained in:
1 parent
02fb70e81a
commit
103fbfd81a
13 files changed
+249
-19
No files matched your search
@@ -85,7 +85,7 @@ func (handler *accessibilityEventHandler) handleLifecycle(event atspi.Event) boo
|
||||
state.lastSpokenPath, state.lastSpokenText, state.lastSound = "", "", ""
|
||||
}
|
||||
state.owner.follow(event)
|
||||
state.current = event.Source
|
||||
state.setCurrent(event.Source)
|
||||
state.focusedID = event.Source.ID()
|
||||
if event.Type == atspi.BusyStateEvent && state.loadedDocument != event.Source.ID() {
|
||||
speech.Enqueue(speechRequest{Text: finishedLoadingText(event.Source.Name), Role: "system", Cause: "document-loaded", Append: true})
|
||||
@@ -126,7 +126,7 @@ func (handler *accessibilityEventHandler) handleLifecycle(event atspi.Event) boo
|
||||
state.chromeLoadedDocument = atspi.ObjectID{}
|
||||
state.chromeLoadedWindow = atspi.ObjectID{}
|
||||
state.owner.follow(event)
|
||||
state.current = event.Source
|
||||
state.setCurrent(event.Source)
|
||||
state.focusedID = event.Source.ID()
|
||||
browser.loaded(event.Source.ID())
|
||||
if objectReview != nil {
|
||||
|
||||
Reference in new issue
Block a user