Add the announcement of switched workspaces from Niri.

I haven't tested this with Braille support; I don't remember what I did with the cable.
This commit is contained in:
hjozwiak committed 2026-10-31 15:27:40 -04:00
1 parent 702894ee4a
commit 1780afccba
14 files changed
+393 -2

No files matched your search

+4
View File
@@ -97,6 +97,9 @@ type eventPresentationState struct {
lastSound string
lastLiveText string
lastLiveAt time.Time
lastAnnouncement string
lastAnnouncementBus string
lastAnnouncementAt time.Time
comboHistory comboPresentation
echoPreview echoPreviewPresentation
// Retain this identity after the history window closes so delayed GTK
@@ -166,6 +169,7 @@ func (state *eventLoopState) clearObjectFocus(brailleOutput brailleFrameEnqueuer
state.focusCaretID, state.focusCaretSequence = atspi.ObjectID{}, 0
state.lastSpokenPath, state.lastSpokenText, state.lastSound = "", "", ""
state.lastLiveText, state.lastLiveAt = "", time.Time{}
state.lastAnnouncement, state.lastAnnouncementBus, state.lastAnnouncementAt = "", "", time.Time{}
state.comboHistory = comboPresentation{}
state.echoPreview = echoPreviewPresentation{}
state.typingPath, state.typingText, state.suppressNextCaretPath = "", "", ""