fix: respect the user's active app focus (#16400)
* Respect the user's active app
Apple recommends not setting this to true. 1428468
-activateignoringotherapps?language=objc
* Remove atom_bundle_mover.mm change for [NSApp activateIgnoringOtherApps:]
This commit is contained in:
parent
5e762d6a47
commit
6da939629b
2 changed files with 2 additions and 2 deletions
|
@ -521,7 +521,7 @@ void NativeWindowMac::Focus(bool focus) {
|
|||
return;
|
||||
|
||||
if (focus) {
|
||||
[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
|
||||
[[NSApplication sharedApplication] activateIgnoringOtherApps:NO];
|
||||
[window_ makeKeyAndOrderFront:nil];
|
||||
} else {
|
||||
[window_ orderBack:nil];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue