diff options
author | Paul Rouget <me@paulrouget.com> | 2016-03-16 06:08:33 +0100 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2016-03-16 06:08:33 +0100 |
commit | 3e9a5e711e10954f6e295d243f775aa4fdf02bee (patch) | |
tree | 696d92df30e2b696d55f8da6932155dd79bb218f /src | |
parent | 141f61002e910d62e64e042230161b46f97935f7 (diff) | |
parent | 7249529654afe4b3ac6628be45bd2d8bb15dcaf4 (diff) | |
download | glutin-3e9a5e711e10954f6e295d243f775aa4fdf02bee.tar.gz glutin-3e9a5e711e10954f6e295d243f775aa4fdf02bee.zip |
Merge pull request #740 from pcwalton/mac-resize-drag-borderless-tomaka
Make Mac borderless windows resizable and draggable.
Diffstat (limited to 'src')
-rw-r--r-- | src/api/cocoa/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs index db3f749..08fabdd 100644 --- a/src/api/cocoa/mod.rs +++ b/src/api/cocoa/mod.rs @@ -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 | |