winit-sonoma-fix/src/platform_impl/linux/x11
Murarth 35505a3114
X11: Sync key press/release with window focus (#1296)
* 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
2019-12-07 15:51:37 -07:00
..
ime Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
util X11: Sync key press/release with window focus (#1296) 2019-12-07 15:51:37 -07:00
dnd.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
event_processor.rs X11: Sync key press/release with window focus (#1296) 2019-12-07 15:51:37 -07:00
events.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
ffi.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
mod.rs Have EventLoopClosed contain the original event (#1294) 2019-12-07 10:22:03 -07:00
monitor.rs X11: Fix incorrect DPI factor when waking from suspend (#1303) 2019-12-04 10:18:20 -07:00
window.rs X11: Fix incorrect DPI factor when waking from suspend (#1303) 2019-12-04 10:18:20 -07:00
xdisplay.rs X11: Improve performance of Window::set_cursor_icon (#1116) 2019-08-26 22:06:59 -04:00