ports/devel/electron25/files/patch-electron_shell_browser_native__window.cc
2023-07-28 18:17:52 +09:00

11 lines
464 B
C++

--- electron/shell/browser/native_window.cc.orig 2023-07-26 13:27:22 UTC
+++ electron/shell/browser/native_window.cc
@@ -197,7 +197,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);