Files
loki/scripts
g-butandClaude Sonnet 4.6 8fb1323796 fix(beacon): custom input click prevents auto-dismiss on X11/Linux
WindowDoesNotAcceptFocus is an X11 WM hint that blocks keyboard focus
even on deliberate clicks — so typing went to the terminal, the input
stayed empty, and the countdown/dismiss fired as if nothing was typed.

Fix: FocusCancelInput.mousePressEvent strips the flag and re-shows the
window so the WM routes keystrokes here. Track _input_engaged so _tick,
_choose, and _dismiss all respect a click (not just non-empty text).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 14:50:23 +02:00
..