From 72e5b10b305be1ab1a3da2ef893bfb9e08150643 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 17 Nov 2023 09:42:01 -0500 Subject: [PATCH] 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). --- Ladybird/AppKit/main.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/Ladybird/AppKit/main.mm b/Ladybird/AppKit/main.mm index e1eed9c648f56b..b450a96388c60f 100644 --- a/Ladybird/AppKit/main.mm +++ b/Ladybird/AppKit/main.mm @@ -67,7 +67,6 @@ webdriverContentIPCPath:webdriver_content_ipc_path]; [NSApp setDelegate:delegate]; - [NSApp activateIgnoringOtherApps:YES]; return event_loop.exec(); }