mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add a command line option to disable native titlebar
This commit is contained in:
parent
d39c8546b6
commit
5be60f2c79
2 changed files with 7 additions and 0 deletions
|
@ -87,6 +87,7 @@ impl Window {
|
|||
parent: glutin::WindowID) -> Rc<Window> {
|
||||
let mut glutin_window = glutin::WindowBuilder::new()
|
||||
.with_title("Servo".to_string())
|
||||
.with_decorations(!opts::get().no_native_titlebar)
|
||||
.with_dimensions(window_size.to_untyped().width, window_size.to_untyped().height)
|
||||
.with_gl(Window::gl_version())
|
||||
.with_visibility(is_foreground)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue