fix: update normal bounds prior to minimizing (#34473)

This commit is contained in:
Shelley Vohr 2022-06-09 10:48:50 +02:00 committed by GitHub
parent 2fd0194e94
commit 37d93b0482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 186 additions and 5 deletions

View file

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