Auto merge of #9809 - pcwalton:transparency, r=metajack

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

r? @metajack

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9809)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-03-01 04:06:12 +05:30
commit 802abf4247

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)