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

+18
View File
@@ -0,0 +1,18 @@
// Copyright (c) 2026 Storm Dragon
// SPDX-License-Identifier: GPL-3.0-or-later
package atspi
import "testing"
func TestAnnouncementEventIsRegistered(t *testing.T) {
if AnnouncementEvent != "object:announcement" {
t.Fatalf("AnnouncementEvent = %q", AnnouncementEvent)
}
for _, eventType := range eventTypes {
if eventType == AnnouncementEvent {
return
}
}
t.Fatal("object:announcement is not in the registered event types")
}