fix: do not activate app when showing a panel on Mac (#41844)
* fix: do not activate app when showing or focusing a panel on Mac Co-authored-by: Mitchell Cohen <mitch.cohen@me.com> * restored panel activation test Co-authored-by: Mitchell Cohen <mitch.cohen@me.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Mitchell Cohen <mitch.cohen@me.com>
This commit is contained in:
parent
d6d6dd973f
commit
1b6e7768fe
4 changed files with 28 additions and 32 deletions
|
@ -176,6 +176,8 @@ class NativeWindowMac : public NativeWindow,
|
|||
|
||||
void UpdateWindowOriginalFrame();
|
||||
|
||||
bool IsPanel();
|
||||
|
||||
// Set the attribute of NSWindow while work around a bug of zoom button.
|
||||
bool HasStyleMask(NSUInteger flag) const;
|
||||
void SetStyleMask(bool on, NSUInteger flag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue