When evdev's EVIOCGRAB works (returns success) but no keyboard events arrive (common in VMs where input bypasses the grabbed device), the daemon previously exited silently after the 30-second safety timeout. Now it falls through to X11 XRecord capture as a fallback, which works reliably in VMs by intercepting keystrokes at the X11 protocol level rather than the evdev level. - run_with_evdev no longer uses 'return', so main() continues to X11 capture after evdev exits (timeout or error) |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||