fix: traffic lights not working when child windows are restored via parent window (#39225)

This commit is contained in:
Shelley Vohr 2023-07-26 10:10:34 +02:00 committed by GitHub
parent 12548294c0
commit 38c3d8df29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 2 deletions

View file

@ -23,6 +23,10 @@ class NativeWindowMac;
int level_;
bool is_resizable_;
// Whether the window is currently minimized. Used to work
// around a macOS bug with child window minimization.
bool is_minimized_;
// Only valid during a live resize.
// Used to keep track of whether a resize is happening horizontally or
// vertically, even if physically the user is resizing in both directions.