summaryrefslogtreecommitdiffstats
path: root/winit/src/settings.rs
diff options
context:
space:
mode:
authorLibravatar Richard <richardsoncusto@gmail.com>2022-07-27 15:37:48 -0300
committerLibravatar bungoboingo <shankern@protonmail.com>2023-01-09 11:27:04 -0800
commitdc86bd03733969033df7389c3d21e78ecc6291bb (patch)
tree7a37a4a9a78ba6c794dfb7915e1f7e7b81212449 /winit/src/settings.rs
parent35331d0a41a53b8ff5c642b8274c7377ae6c6182 (diff)
downloadiced-dc86bd03733969033df7389c3d21e78ecc6291bb.tar.gz
iced-dc86bd03733969033df7389c3d21e78ecc6291bb.tar.bz2
iced-dc86bd03733969033df7389c3d21e78ecc6291bb.zip
Introduce `close_requested` for `multi-window`
Diffstat (limited to '')
-rw-r--r--winit/src/settings.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/winit/src/settings.rs b/winit/src/settings.rs
index 94d243a7..ea0ba361 100644
--- a/winit/src/settings.rs
+++ b/winit/src/settings.rs
@@ -46,6 +46,10 @@ pub struct Settings<Flags> {
/// Whether the [`Application`] should exit when the user requests the
/// window to close (e.g. the user presses the close button).
///
+ /// NOTE: This is not used for `multi-window`, instead check [`Application::close_requested`].
+ ///
+ /// [`close_requested`]: crate::multi_window::Application::close_requested
+ ///
/// [`Application`]: crate::Application
pub exit_on_close_request: bool,