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
@@ -1,6 +1,8 @@
#ifndef _ACCESSIBILITY_FEEDBACK_H
#define _ACCESSIBILITY_FEEDBACK_H
#include <stdbool.h>
typedef enum {
ACCESSIBILITY_SCREEN_LOCKED = 0,
ACCESSIBILITY_ENTER_PASSWORD,
@@ -17,7 +19,7 @@ typedef enum {
ACCESSIBILITY_NUM_LOCK_OFF,
} accessibility_feedback_t;
void accessibility_feedback_start(int inherited_xcb_fd);
bool accessibility_feedback_start(int inherited_xcb_fd);
void accessibility_feedback_notify(accessibility_feedback_t feedback);
#endif