Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/winit: Implement proper
Event::Resumed
semantics
On Android the backing buffer (`NativeWindow`) disappears when the application is not focussed and/or the screen is locked. Winit handles this by requiring apps to create their `raw_window_handle()` consumers _after_ `Event::Resumed` and to clean it up _before_ returning from `Event::Suspended`. For consistency Winit also sends `Resumed` on all other platforms during init.
- Loading branch information