From da51a6059500d3840667bbbfa37fdfccf128a2b0 Mon Sep 17 00:00:00 2001 From: Paul Rouget Date: Thu, 17 Sep 2015 08:56:56 +0200 Subject: add resizable mask to decoration-less windows --- src/api/cocoa/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 | -- cgit v1.2.3