fix: fullscreen windows aren't resizable on macOS (#34379)

This commit is contained in:
Shelley Vohr 2022-06-03 09:47:19 +02:00 committed by GitHub
parent b00c026a54
commit 6038e42c23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 11 deletions

View file

@ -167,6 +167,7 @@ class NativeWindowMac : public NativeWindow,
void UpdateVibrancyRadii(bool fullscreen);
// Set the attribute of NSWindow while work around a bug of zoom button.
bool HasStyleMask(NSUInteger flag) const;
void SetStyleMask(bool on, NSUInteger flag);
void SetCollectionBehavior(bool on, NSUInteger flag);
void SetWindowLevel(int level);