Use transparency in the window if we have rounded border corners.

This commit is contained in:
Patrick Walton 2016-02-29 14:29:37 -08:00
parent 872ee19534
commit c9a45fb4c0

View file

@ -93,6 +93,7 @@ impl Window {
let mut builder =
glutin::WindowBuilder::new().with_title("Servo".to_string())
.with_decorations(!opts::get().no_native_titlebar)
.with_transparency(opts::get().no_native_titlebar)
.with_dimensions(width, height)
.with_gl(Window::gl_version())
.with_visibility(is_foreground)