Skip to main content

configure_window

Function configure_window 

Source
pub fn configure_window(
    attributes: WindowAttributes,
    project_dir: &Path,
) -> WindowAttributes
Expand description

Apply the game icon before creating its window. Winit sends the pixels directly to Wayland compositors that support xdg_toplevel_icon_v1.