bevy/crates/bevy_window/src
extrawurst 9849221522
add new event WindowOccluded from winit (#10735)
forward for bevy user to consume

# Objective

- since winit 0.27 an event WindowOccluded will be produced:
https://docs.rs/winit/latest/winit/event/enum.WindowEvent.html#variant.Occluded
- on ios this is currently the only way to know if an app comes back
from the background which is an important time to to things (like
resetting the badge)

## Solution

- pick up the winit event and forward it to a new `EventWriter`

---

## Changelog

### Added
- new Event `WindowOccluded` added allowing to hook into
`WindowEvent::Occluded` of winit
2023-11-26 21:58:54 +00:00
..
cursor.rs Slightly improve CursorIcon doc. (#10289) 2023-10-28 12:30:33 +00:00
event.rs add new event WindowOccluded from winit (#10735) 2023-11-26 21:58:54 +00:00
lib.rs add new event WindowOccluded from winit (#10735) 2023-11-26 21:58:54 +00:00
raw_handle.rs Enable clippy::undocumented_unsafe_blocks warning across the workspace (#10646) 2023-11-21 02:06:24 +00:00
system.rs fix typo (#9651) 2023-08-31 07:20:53 +00:00
window.rs Some explanations for Window component (#10714) 2023-11-25 21:13:27 +00:00