aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2015-09-17 08:56:56 +0200
committerPaul Rouget <me@paulrouget.com>2015-09-17 08:57:43 +0200
commitda51a6059500d3840667bbbfa37fdfccf128a2b0 (patch)
tree8d867f2e2bbfeaaac113858f7f2288bae0713f6a
parentfa48f4b8457ce4e04fb089780d6a5cccb0e5ec11 (diff)
downloadglutin-da51a6059500d3840667bbbfa37fdfccf128a2b0.tar.gz
glutin-da51a6059500d3840667bbbfa37fdfccf128a2b0.zip
add resizable mask to decoration-less windows
-rw-r--r--src/api/cocoa/mod.rs3
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 |