bevy/examples/window
François 3900b48c88 update winit to 0.28 (#7480)
# Objective

- Update winit to 0.28

## Solution

- Small API change 
- A security advisory has been added for a unmaintained crate used by a dependency of winit build script for wayland

I didn't do anything for Android support in this PR though it should be fixable, it should be done in a separate one, maybe https://github.com/bevyengine/bevy/pull/6830 

---

## Changelog

- `window.always_on_top` has been removed, you can now use `window.window_level`

## Migration Guide

before:
```rust
    app.new()
        .add_plugins(DefaultPlugins.set(WindowPlugin {
            primary_window: Some(Window {
                always_on_top: true,
                ..default()
            }),
            ..default()
        }));
```

after:
```rust
    app.new()
        .add_plugins(DefaultPlugins.set(WindowPlugin {
            primary_window: Some(Window {
                window_level: bevy:🪟:WindowLevel::AlwaysOnTop,
                ..default()
            }),
            ..default()
        }));
```
2023-02-03 16:41:39 +00:00
..
clear_color.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
low_power.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
multiple_windows.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
scale_factor_override.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
transparent_window.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
window_resizing.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
window_settings.rs update winit to 0.28 (#7480) 2023-02-03 16:41:39 +00:00