mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Merge pull request #600 from paulrouget/resizableMask
[cocoa] add resizable mask to decoration-less windows
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user