From 1850131b97b0000f82c30d60a7036e15fcbbe1f5 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 20 Feb 2024 15:32:08 +0100 Subject: [PATCH] Document that multiple windows are not supported on Android --- src/window.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/window.rs b/src/window.rs index fb3f435bdc..cc91eb3beb 100644 --- a/src/window.rs +++ b/src/window.rs @@ -57,8 +57,11 @@ use serde::{Deserialize, Serialize}; /// /// ## Platform-specific /// -/// **Web:** The [`Window`], which is represented by a `HTMLElementCanvas`, can -/// not be closed by dropping the [`Window`]. +/// - **Web:** The window is represented by a `HTMLElementCanvas`, and cannot +/// currently be closed by dropping the [`Window`]. +/// - **Android:** Each window is spawned inside its own process, and as such +/// Winit does not support multiple windows on Android. Create a new +/// activity instead. pub struct Window { pub(crate) window: platform_impl::Window, }