Skip to content

Commit

Permalink
Enable CSDs on Redox
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Apr 6, 2024
1 parent 69c2269 commit 782bce1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

let mut settings = Settings::default();
settings = settings.theme(config.app_theme.theme());

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

settings = settings.size_limits(Limits::NONE.min_width(360.0).min_height(180.0));

let flags = Flags {
Expand Down

0 comments on commit 782bce1

Please sign in to comment.