XPending returned 0 even with active keyboard grab. Using select() on the X11 connection file descriptor with 100ms timeout to reliably detect when the X server sends events. Also adds XSelectInput on root window and XConnectionNumber for the fd. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||