winit/src/platform_impl
Christian Duerr f10a984ba3
Add X11 opt-in function for device events
Previously on X11, by default all global events were broadcasted to
every winit application. This unnecessarily drains battery due to
excessive CPU usage when moving the mouse.

To resolve this, device events are now ignored by default and users must
manually opt into it using
`EventLoopWindowTarget::set_filter_device_events`.

Fixes (#1634) on Linux.
2022-06-08 00:17:45 +03:00
..
android Add new Ime event for desktop platforms 2022-05-07 05:29:25 +03:00
ios Add new Ime event for desktop platforms 2022-05-07 05:29:25 +03:00
linux Add X11 opt-in function for device events 2022-06-08 00:17:45 +03:00
macos On macOS, emit resize event on frame_did_change 2022-05-23 22:53:07 +03:00
web Add new Ime event for desktop platforms 2022-05-07 05:29:25 +03:00
windows On Windows, fix reported cursor position. (#2311) 2022-06-02 19:08:54 +02:00
mod.rs Merge branch 'master' into merge-master-to-web 2019-09-24 14:21:18 -04:00