diff options
Diffstat (limited to '')
| -rw-r--r-- | winit/src/multi_window.rs | 2 | ||||
| -rw-r--r-- | winit/src/multi_window/state.rs | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/winit/src/multi_window.rs b/winit/src/multi_window.rs index 6e28f1fa..9b395c1d 100644 --- a/winit/src/multi_window.rs +++ b/winit/src/multi_window.rs @@ -112,7 +112,7 @@ where      fn title(&self, window: window::Id) -> String;      /// Returns the current [`Theme`] of the [`Application`]. -    fn theme(&self) -> <Self::Renderer as crate::Renderer>::Theme; +    fn theme(&self, window: window::Id) -> <Self::Renderer as crate::Renderer>::Theme;      /// Returns the [`Style`] variation of the [`Theme`].      fn style( diff --git a/winit/src/multi_window/state.rs b/winit/src/multi_window/state.rs index d0e442d0..54a114ad 100644 --- a/winit/src/multi_window/state.rs +++ b/winit/src/multi_window/state.rs @@ -37,7 +37,7 @@ where      ) -> Self {          let title = application.title(window_id);          let scale_factor = application.scale_factor(window_id); -        let theme = application.theme(); +        let theme = application.theme(window_id);          let appearance = theme.appearance(&application.style());          let viewport = { @@ -212,7 +212,7 @@ where          }          // Update theme and appearance -        self.theme = application.theme(); +        self.theme = application.theme(window_id);          self.appearance = self.theme.appearance(&application.style());      }  }  | 
