diff --git a/druid/src/app.rs b/druid/src/app.rs index d688081d1c..b9f79596d0 100644 --- a/druid/src/app.rs +++ b/druid/src/app.rs @@ -582,6 +582,12 @@ impl WindowDesc { self } + /// Set the [`WindowConfig`] of window. + pub fn with_config(mut self, config: WindowConfig) -> Self { + self.config = config; + self + } + /// Attempt to create a platform window from this `WindowDesc`. pub(crate) fn build_native( self,