Set window theme to match color scheme of active theme

This commit is contained in:
Héctor Ramón Jiménez 2025-09-08 10:12:04 +02:00
parent e92c87061d
commit 74425d5cb1
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 40 additions and 6 deletions

View file

@ -1207,7 +1207,7 @@ pub fn icon(icon: window::Icon) -> Option<winit::window::Icon> {
winit::window::Icon::from_rgba(pixels, size.width, size.height).ok()
}
/// Convertions some [`input_method::Purpose`] into its `winit` counterpart.
/// Converts some [`input_method::Purpose`] into its `winit` counterpart.
pub fn ime_purpose(
purpose: input_method::Purpose,
) -> winit::window::ImePurpose {