mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 12:27:28 +01:00
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>