On X11, uinput injection has high latency (kernel → libinput → X server) compared to XTest' which writes events directly into the X11 event queue. Physical key events reach the app before the uinput backspace correction, causing the VNI control key digit to flash on screen. Fix: when non-grabbed mode is entered on X11 (grab failed or ungrab), replace the uinput injector with X11Injector (XTest). XTest events are processed synchronously by X server and take effect before subsequent physical events. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||