diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -295,6 +295,8 @@ pub struct BuilderAttribs<'a> { alpha_bits: Option<u8>, stereoscopy: bool, srgb: Option<bool>, + transparent: bool, + decorations: bool, } impl BuilderAttribs<'static> { @@ -318,6 +320,8 @@ impl BuilderAttribs<'static> { alpha_bits: None, stereoscopy: false, srgb: None, + transparent: false, + decorations: true, } } } @@ -346,6 +350,8 @@ impl<'a> BuilderAttribs<'a> { alpha_bits: self.alpha_bits, stereoscopy: self.stereoscopy, srgb: self.srgb, + transparent: self.transparent, + decorations: self.decorations, }; (new_attribs, sharing) |