diff options
author | Paul Rouget <me@paulrouget.com> | 2015-09-17 08:56:56 +0200 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2015-09-17 08:57:43 +0200 |
commit | da51a6059500d3840667bbbfa37fdfccf128a2b0 (patch) | |
tree | 8d867f2e2bbfeaaac113858f7f2288bae0713f6a /src/api/cocoa | |
parent | fa48f4b8457ce4e04fb089780d6a5cccb0e5ec11 (diff) | |
download | glutin-da51a6059500d3840667bbbfa37fdfccf128a2b0.tar.gz glutin-da51a6059500d3840667bbbfa37fdfccf128a2b0.zip |
add resizable mask to decoration-less windows
Diffstat (limited to 'src/api/cocoa')
-rw-r--r-- | src/api/cocoa/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs index 0c8a814..259f847 100644 --- a/src/api/cocoa/mod.rs +++ b/src/api/cocoa/mod.rs @@ -396,7 +396,8 @@ impl Window { }; let masks = if screen.is_some() || !builder.decorations { - NSBorderlessWindowMask as NSUInteger + NSBorderlessWindowMask as NSUInteger | + NSResizableWindowMask as NSUInteger } else { NSTitledWindowMask as NSUInteger | NSClosableWindowMask as NSUInteger | |