bevy/crates/bevy_winit/src
Marco Buono 20ed3e0e76
macOS Sonoma (14.0) / Xcode 15.0 — Compatibility Fixes + Docs (#9905)
# Objective

Improve compatibility with macOS Sonoma and Xcode 15.0.

## Solution

- Adds the workaround by @ptxmac to ignore the invalid window sizes
provided by `winit` on macOS 14.0
- This still provides a slightly wrong content size when resizing (it
fails to account for the window title bar, so some content gets clipped
at the bottom) but it's _much better_ than crashing.
- Adds docs on how to work around the `bindgen` bug on Xcode 15.0.

## Related Issues:

- https://github.com/RustAudio/coreaudio-sys/issues/85
- https://github.com/rust-windowing/winit/issues/2876

---

## Changelog

- Added a workaround for a `winit`-related crash under macOS Sonoma
(14.0)

---------

Co-authored-by: Peter Kristensen <peter@ptx.dk>
2023-09-27 22:41:16 +00:00
..
accessibility.rs Fix the clippy::explicit_iter_loop lint (#9834) 2023-09-19 03:35:22 +00:00
converters.rs Add option to toggle window control buttons (#9083) 2023-07-23 01:02:40 +00:00
lib.rs macOS Sonoma (14.0) / Xcode 15.0 — Compatibility Fixes + Docs (#9905) 2023-09-27 22:41:16 +00:00
system.rs Rename RemovedComponents::iter/iter_with_id to read/read_with_id (#9778) 2023-09-15 12:37:20 +00:00
web_resize.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
winit_config.rs Change WinitPlugin defaults to limit game update rate when window is not visible (#7611) 2023-08-02 23:41:23 +00:00
winit_windows.rs Fix some nightly warnings (#9672) 2023-09-02 18:35:06 +00:00