opnsense-ports/devel/electron32/files/patch-electron_shell_browser_native__window.cc
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
464 B
C++

--- electron/shell/browser/native_window.cc.orig 2024-07-15 15:22:56 UTC
+++ electron/shell/browser/native_window.cc
@@ -203,7 +203,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);