mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 21:31:29 +11:00
Merge pull request #600 from paulrouget/resizableMask
[cocoa] add resizable mask to decoration-less windows
This commit is contained in:
commit
27385894ac
|
@ -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 |
|
||||||
|
|
Loading…
Reference in a new issue