aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc
blob: 362735dc2a2a0642d197bdc73a1b532bbf207811 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/extensions/api/tabs/tabs_api.cc.orig	2025-06-30 07:04:30 UTC
+++ chrome/browser/extensions/api/tabs/tabs_api.cc
@@ -945,7 +945,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio
 // created as minimized.
 // TODO(crbug.com/40254339): Remove this workaround when linux is fixed.
 // TODO(crbug.com/40254339): Find a fix for wayland as well.
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
   if (new_window->initial_show_state() ==
       ui::mojom::WindowShowState::kMinimized) {
     new_window->window()->Minimize();