pub fn configure_window(
attributes: WindowAttributes,
project_dir: &Path,
) -> WindowAttributesExpand description
Apply the game icon before creating its window. Winit sends the pixels directly to Wayland compositors that support xdg_toplevel_icon_v1.