On X11 (Linux Mint, Ubuntu), clipboard-based Unicode injection was failing — backspace was sent but the Vietnamese character never appeared because xclip paste via Ctrl+V wasn't reliable from a root uinput process. Now send_string tries xdotool type first (XTest-based, doesn't touch the user's clipboard), falling back to clipboard paste only on Wayland or when xdotool is unavailable. |
||
|---|---|---|
| .. | ||
| inject.rs | ||
| lib.rs | ||
| monitor.rs | ||
| uinput_client.rs | ||
| uinput_monitor.rs | ||
| wayland_im.rs | ||
| x11_capture.rs | ||
| x11_inject.rs | ||