bevy/crates/bevy_winit/src
MiniaczQ 4bd56b6da1
Dirty fix for App hanging when windows are invisible on WindowsOS (#14155)
# Objective

- Fixes #14135 

## Solution

- If no windows are visible, app updates will run regardless of redraw
call result.

This a relatively dirty fix, a more robust solution is desired in the
long run:
https://github.com/bevyengine/bevy/issues/1343#issuecomment-770091684

https://discord.com/channels/691052431525675048/1253771396832821270/1258805997011730472
The solution would disconnect rendering from app updates.

## Testing

- `window_settings` now works

## Other platforms

Not a problem on Linux:
https://discord.com/channels/691052431525675048/692572690833473578/1259526650622640160
Not a problem on MacOS:
https://discord.com/channels/691052431525675048/692572690833473578/1259563986148659272
2024-08-02 19:12:05 +02:00
..
accessibility.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
converters.rs Add logical key data to KeyboardInput (#11400) 2024-01-22 15:25:17 +00:00
lib.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
state.rs Dirty fix for App hanging when windows are invisible on WindowsOS (#14155) 2024-08-02 19:12:05 +02:00
system.rs apply window scale to window size when creating it (#13967) 2024-06-21 20:27:55 +02:00
winit_config.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
winit_event.rs flush key_input cache when Bevy loses focus (Adopted) (#13678) 2024-06-05 02:06:47 +00:00
winit_windows.rs Have WindowPosition::Centered take scale_factor_override into account (#13949) 2024-06-26 21:57:12 +02:00