1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +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:
Timothy Flynn 2023-11-17 09:42:01 -05:00 committed by Andreas Kling
parent 5eaa403ddf
commit 72e5b10b30

View file

@ -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();
}