Keyboard: - Use xdotool type for printable characters (handles @, #, !, etc.) - Use xdotool key only for non-printable keys and modifier combos - Remove --sync from every keystroke — focus set once, not per-event - Skip release events (xdotool key already handles press+release) Mouse: - Remove windowactivate --sync from every click — focus set once - Fire-and-forget for mousemove events to reduce latency - Add _xdotool_fire() for non-blocking subprocess calls Performance: - _ensure_focus() activates window once, skips on subsequent calls - Eliminated redundant --sync flags that added 100-300ms per event - Added _reap() helper to prevent zombie processes from fire-and-forget Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| routers | ||
| ws | ||
| __init__.py | ||
| auth.py | ||
| config.py | ||
| display.py | ||
| main.py | ||
| netwatch.py | ||
| privdrop.py | ||
| requirements.txt | ||
| sessions.py | ||