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:
Timothy Flynn 2023-11-17 09:42:01 -05:00 committed by Andreas Kling
commit 72e5b10b30
Notes: sideshowbarker 2024-07-17 01:04:03 +09:00

View file

@ -67,7 +67,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
webdriverContentIPCPath:webdriver_content_ipc_path]; webdriverContentIPCPath:webdriver_content_ipc_path];
[NSApp setDelegate:delegate]; [NSApp setDelegate:delegate];
[NSApp activateIgnoringOtherApps:YES];
return event_loop.exec(); return event_loop.exec();
} }