mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-28 08:01:30 +11:00
35505a3114
* X11: Sync key press/release with window focus * When a window loses focus, key release events are issued for all pressed keys * When a window gains focus, key press events are issued for all pressed keys * Adds `is_synthetic` field to `WindowEvent` variant `KeyboardInput` to indicate that these events are synthetic. * Adds `is_synthetic: false` to `WindowEvent::KeyboardInput` events issued on all other platforms * Clarify code with comments |
||
---|---|---|
.. | ||
ime | ||
util | ||
dnd.rs | ||
event_processor.rs | ||
events.rs | ||
ffi.rs | ||
mod.rs | ||
monitor.rs | ||
window.rs | ||
xdisplay.rs |