mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
Ladybird/AppKit: Remove explicit application activation
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).
This commit is contained in:
parent
5eaa403ddf
commit
72e5b10b30
Notes:
sideshowbarker
2024-07-17 01:04:03 +09:00
Author: https://github.com/trflynn89
Commit: 72e5b10b30
Pull-request: https://github.com/SerenityOS/serenity/pull/21970
Reviewed-by: https://github.com/nico ✅
1 changed files with 0 additions and 1 deletions
|
@ -67,7 +67,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
webdriverContentIPCPath:webdriver_content_ipc_path];
|
||||
|
||||
[NSApp setDelegate:delegate];
|
||||
[NSApp activateIgnoringOtherApps:YES];
|
||||
|
||||
return event_loop.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue