Another problem exposed and fixed on Slint.

This commit is contained in:
Storm Dragon committed 2026-11-01 22:49:08 -05:00
1 parent 92d6ad3cc4
commit 6df27c88de
3 files changed
+21 -10

No files matched your search

@@ -341,6 +341,7 @@ func (adapter *Adapter) recoverForeground() {
name := C.atspi_accessible_get_name(window, nil)
event.WindowTitle = sanitizeSnapshotField(C.GoString(name))
C.g_free(C.gpointer(name))
event.WindowDescription = nativeWindowDescription(window, event.Type, snapshot.Role)
if snapshot.Role == "tree table" || snapshot.Role == "table cell" {
if labels := C.cthulhu_collect_simple_prompt_text(window); labels != nil {
event.WindowMessage = sanitizeSnapshotField(C.GoString(labels))