diff --git a/Cargo.toml b/Cargo.toml index 7d466dd..02a04e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,4 +64,4 @@ x11-dl = "~2.14" x11-dl = "~2.14" [target.x86_64-unknown-redox.dependencies] -orbclient = "0.3.4" +orbclient = "0.3.14" diff --git a/src/os/redox/mod.rs b/src/os/redox/mod.rs index ebc6984..ac75c42 100644 --- a/src/os/redox/mod.rs +++ b/src/os/redox/mod.rs @@ -59,18 +59,20 @@ impl Window { let window_width = width as u32 * window_scale as u32; let window_height = height as u32 * window_scale as u32; - let window_name = if opts.title { name } else { "" }; let mut window_flags = vec![orbclient::WindowFlag::Async]; if opts.resize { window_flags.push(orbclient::WindowFlag::Resizable); } + if !opts.title { + window_flags.push(orbclient::WindowFlag::Borderless); + } let window_opt = orbclient::Window::new_flags(-1, -1, window_width, window_height, - window_name, + name, &window_flags); match window_opt { Some(window) => {