Merge branch 'master_jammy' of https://github.com/pop-os/cosmic-edit into master_jammy

This commit is contained in:
Jeremy Soller 2023-11-15 16:43:13 -07:00
commit b87fa0e7df
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -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));