add resizable mask to decoration-less windows

This commit is contained in:
Paul Rouget 2015-09-17 08:56:56 +02:00
parent fa48f4b845
commit da51a60595

View file

@ -396,7 +396,8 @@ impl Window {
}; };
let masks = if screen.is_some() || !builder.decorations { let masks = if screen.is_some() || !builder.decorations {
NSBorderlessWindowMask as NSUInteger NSBorderlessWindowMask as NSUInteger |
NSResizableWindowMask as NSUInteger
} else { } else {
NSTitledWindowMask as NSUInteger | NSTitledWindowMask as NSUInteger |
NSClosableWindowMask as NSUInteger | NSClosableWindowMask as NSUInteger |