Merge pull request #740 from pcwalton/mac-resize-drag-borderless-tomaka

Make Mac borderless windows resizable and draggable.
This commit is contained in:
Paul Rouget 2016-03-16 06:08:33 +01:00
commit 3e9a5e711e

View file

@ -404,7 +404,9 @@ impl Window {
let masks = if screen.is_some() || attrs.transparent {
// Fullscreen or transparent window
NSBorderlessWindowMask as NSUInteger
NSBorderlessWindowMask as NSUInteger |
NSResizableWindowMask as NSUInteger |
NSTitledWindowMask as NSUInteger
} else if attrs.decorations {
// Classic opaque window with titlebar
NSClosableWindowMask as NSUInteger |