winit-sonoma-fix/src
Robert Bragg 11d4a301e4
Implement version 0.4 of the HasRawWindowHandle trait
This makes Winit 0.27 compatible with crates like Wgpu 0.13 that are
using the raw_window_handle v0.4 crate and aren't able to upgrade to 0.5
until they do a new release (since it requires a semver change).

The change is intended to be self-contained (instead of pushing
the details into all the platform_impl backends) since this is only
intended to be a temporary trait implementation for backwards
compatibility that will likely be removed before the next Winit release.

Fixes #2415.
2022-08-11 18:33:02 +04:00
..
platform Explicitly specify minimum supported rust version 2022-07-29 14:39:41 +03:00
platform_impl On Windows, add opt-in function for device events (#2409) 2022-08-11 15:17:46 +02:00
dpi.rs Windows: respect min/max sizes when creating the window (#2393) 2022-08-04 23:03:55 +02:00
error.rs Always use f as the argument name for &mut std::fmt::Formatter (#1023) 2019-07-09 17:49:07 -04:00
event.rs Consistently deliver a Resumed event on all platforms 2022-07-26 16:03:12 +03:00
event_loop.rs On Windows, add opt-in function for device events (#2409) 2022-08-11 15:17:46 +02:00
icon.rs Documentation cleanup (#2328) 2022-06-11 18:57:19 +02:00
lib.rs Update raw-window-handle to v0.5.0 2022-07-21 22:22:36 +03:00
monitor.rs Add refresh_rate_millihertz for MonitorHandle 2022-07-08 13:25:56 +03:00
window.rs Implement version 0.4 of the HasRawWindowHandle trait 2022-08-11 18:33:02 +04:00