ports/devel/electron33/files/patch-electron_shell_browser_native__window.cc
2025-04-26 20:48:37 +09:00

11 lines
464 B
C++

--- electron/shell/browser/native_window.cc.orig 2025-04-15 18:33:07 UTC
+++ electron/shell/browser/native_window.cc
@@ -200,7 +200,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);