Skip to content

Commit

Permalink
Ladybird/AppKit: Remove explicit application activation
Browse files Browse the repository at this point in the history
We call [NSApp activateIgnoringOtherApps:YES] to ensure the application
is brought into view and focused when launched from a terminal. But in
a macOS environment, we're better off using the `open` command to launch
the application (in which case, it does take foreground focus).
  • Loading branch information
trflynn89 authored and awesomekling committed Nov 17, 2023
1 parent 5eaa403 commit 72e5b10
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Ladybird/AppKit/main.mm
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
webdriverContentIPCPath:webdriver_content_ipc_path];

[NSApp setDelegate:delegate];
[NSApp activateIgnoringOtherApps:YES];

return event_loop.exec();
}

0 comments on commit 72e5b10

Please sign in to comment.