aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Kaaman <trundmatu@gmail.com>2015-09-17 10:57:01 +0200
committerFelix Kaaman <trundmatu@gmail.com>2015-09-17 10:57:01 +0200
commit27385894ac81d28dd984764c65914ca512043c16 (patch)
tree8d867f2e2bbfeaaac113858f7f2288bae0713f6a
parentfa48f4b8457ce4e04fb089780d6a5cccb0e5ec11 (diff)
parentda51a6059500d3840667bbbfa37fdfccf128a2b0 (diff)
downloadglutin-27385894ac81d28dd984764c65914ca512043c16.tar.gz
glutin-27385894ac81d28dd984764c65914ca512043c16.zip
Merge pull request #600 from paulrouget/resizableMask
[cocoa] 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 |