Resolve VNC authorized users on the components path and fix uinput, X11 and macOS input gaps

This commit is contained in:
Viktor Liu
2026-08-29 09:04:02 +02:00
parent 84e88e0371
commit 8b719f0b4e
6 changed files with 194 additions and 36 deletions
+4
View File
@@ -840,6 +840,10 @@ func (m *MacInputInjector) SetClipboard(text string) {
// login screens, locked-down apps). ASCII printable runes only; others
// are skipped.
func (m *MacInputInjector) TypeText(text string) {
// Same permission the other injection paths need: without it the posted
// events are swallowed, so asking here is what makes the prompt appear
// instead of PasteAndType silently doing nothing.
m.ensureAccessibility()
wakeDisplay()
src := ensureEventSource()
if src == 0 {