mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +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
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];
|
webdriverContentIPCPath:webdriver_content_ipc_path];
|
||||||
|
|
||||||
[NSApp setDelegate:delegate];
|
[NSApp setDelegate:delegate];
|
||||||
[NSApp activateIgnoringOtherApps:YES];
|
|
||||||
|
|
||||||
return event_loop.exec();
|
return event_loop.exec();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue