summaryrefslogtreecommitdiffstats
path: root/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/application.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/application.rs b/src/application.rs
index 9518b8c5..d7be6719 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -1,6 +1,8 @@
//! Build interactive cross-platform applications.
use crate::{Command, Element, Executor, Settings, Subscription};
+use std::sync::Arc;
+
pub use crate::style::application::{Appearance, StyleSheet};
/// An interactive cross-platform application.
@@ -208,7 +210,10 @@ pub trait Application: Sized {
Ok(crate::shell::application::run::<
Instance<Self>,
Self::Executor,
- crate::renderer::Compositor<Self::Theme>,
+ crate::renderer::Compositor<
+ Arc<winit::window::Window>,
+ Self::Theme,
+ >,
>(settings.into(), renderer_settings)?)
}
}