aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-electron_shell_browser_native__window.cc
blob: 4a441c7b891a036d358f3b09c981f21ca3fab592 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/shell/browser/native_window.cc.orig	2025-06-25 20:51:20 UTC
+++ electron/shell/browser/native_window.cc
@@ -180,7 +180,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D
   } else {
     SetSizeConstraints(size_constraints);
   }
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   bool closable;
   if (options.Get(options::kClosable, &closable)) {
     SetClosable(closable);