Report locked status to cthulhu. Should prevent some of the weirdness with the screen reader thinking it's in a different window.

This commit is contained in:
Storm Dragon
2026-07-17 13:26:21 -04:00
parent db522d7d66
commit 3ca166e5a1
3 changed files with 118 additions and 8 deletions
+3 -1
View File
@@ -1335,7 +1335,9 @@ int main(int argc, char *argv[]) {
* keyboard. */
(void)load_keymap();
accessibility_feedback_start(xcb_get_file_descriptor(conn));
if (!accessibility_feedback_start(xcb_get_file_descriptor(conn))) {
errx(EXIT_FAILURE, "Could not initialize secure accessibility feedback");
}
accessibility_feedback_notify(ACCESSIBILITY_SCREEN_LOCKED);
update_modifier_feedback(true);