Skip to content

Commit

Permalink
Use SSDs on Redox
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Nov 15, 2023
1 parent 8a16e4f commit d24a250
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
};

let mut settings = Settings::default();
println!("{:?}", config.app_theme);
settings = settings.theme(config.app_theme.theme());

#[cfg(target_os = "redox")]
{
// Redox does not support resize if doing CSDs
settings = settings.client_decorations(false);
}

//TODO: allow size limits on iced_winit
//settings = settings.size_limits(Limits::NONE.min_width(400.0).min_height(200.0));

Expand Down

0 comments on commit d24a250

Please sign in to comment.