winit/examples/data
Kirill Chibisov 3fb93b4f83 Deprecate window creation with stale event loop
Creating window when event loop is not running generally doesn't work,
since a bunch of events and sync OS requests can't be processed. This
is also an issue on e.g. Android, since window can't be created outside
event loop easily.

Thus deprecate the window creation when event loop is not running,
as well as other resource creation to running event loop.

Given that all the examples use the bad pattern of creating the window
when event loop is not running and also most example existence is
questionable, since they show single thing and the majority of their
code is window/event loop initialization, they wore merged into
a single example 'window.rs' example that showcases very simple
application using winit.

Fixes #3399.
2024-02-21 14:44:29 +04:00
..
cross.png feat(all): Custom cursor images for all desktop platforms 2023-12-16 12:02:17 -08:00
cross2.png feat(all): Custom cursor images for all desktop platforms 2023-12-16 12:02:17 -08:00
gradient.png On Wayland, pre-multiply alpha for custom cursor 2024-01-30 21:31:17 +04:00
icon.png Deprecate window creation with stale event loop 2024-02-21 14:44:29 +04:00