Making applications track modifier keys results in unnecessary work for
consumers, it's error prone, and it turns out to have unavoidable bugs.
For example, alt-tabbing with x11 results in the alt modifier state
getting stuck.
To resolve these problems, this patch adds a Mods value to the keyboard
input event.
Based on this patch:
|
||
|---|---|---|
| .. | ||
| events.rs | ||
| ffi.rs | ||
| input.rs | ||
| mod.rs | ||
| monitor.rs | ||
| window.rs | ||
| xdisplay.rs | ||