mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
commit
802abf4247
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue