Skip to content

Commit

Permalink
Use activate
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrieseberg committed Nov 3, 2023
1 parent 8da57e2 commit a61887f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/native_window_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) {
// this safe, we're gating by versions.
if (@available(macOS 14.0, *)) {
if (!IsPanel(window_)) {
[[NSApplication sharedApplication] activateIgnoringOtherApps:NO];
[[NSApplication sharedApplication] activate];
}
} else {
[[NSApplication sharedApplication] activateIgnoringOtherApps:NO];
Expand Down

0 comments on commit a61887f

Please sign in to comment.