diff options
author | 2021-04-09 09:00:29 -0700 | |
---|---|---|
committer | 2021-04-09 09:04:30 -0700 | |
commit | 84c0c9bc7ab858793183560739c8fd6087e22f6e (patch) | |
tree | 3cc5a3d85c57847044580b802cfa6d0df5948d6e /winit/src/application.rs | |
parent | 6f6f1d82e822983941f3b3ba1c6d93df3e98b8c3 (diff) | |
download | iced-84c0c9bc7ab858793183560739c8fd6087e22f6e.tar.gz iced-84c0c9bc7ab858793183560739c8fd6087e22f6e.tar.bz2 iced-84c0c9bc7ab858793183560739c8fd6087e22f6e.zip |
use Mode::Hidden instead
Diffstat (limited to 'winit/src/application.rs')
-rw-r--r-- | winit/src/application.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index e73f3df1..106d5218 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -98,13 +98,6 @@ pub trait Application: Program<Clipboard = Clipboard> { fn should_exit(&self) -> bool { false } - - /// Returns whether the [`Application`] should be visible or not - /// - /// By default, it returns `true`. - fn visible(&self) -> bool { - true - } } /// Runs an [`Application`] with an executor, compositor, and the provided @@ -152,7 +145,6 @@ where .into_builder( &application.title(), application.mode(), - application.visible(), event_loop.primary_monitor(), ) .build(&event_loop) |