mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Use transparency in the window if we have rounded border corners.
This commit is contained in:
parent
872ee19534
commit
c9a45fb4c0
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ impl Window {
|
||||||
let mut builder =
|
let mut builder =
|
||||||
glutin::WindowBuilder::new().with_title("Servo".to_string())
|
glutin::WindowBuilder::new().with_title("Servo".to_string())
|
||||||
.with_decorations(!opts::get().no_native_titlebar)
|
.with_decorations(!opts::get().no_native_titlebar)
|
||||||
|
.with_transparency(opts::get().no_native_titlebar)
|
||||||
.with_dimensions(width, height)
|
.with_dimensions(width, height)
|
||||||
.with_gl(Window::gl_version())
|
.with_gl(Window::gl_version())
|
||||||
.with_visibility(is_foreground)
|
.with_visibility(is_foreground)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue