ports/devel/electron30/files/patch-electron_shell_browser_native__window.cc
Hiroki Tagato 9d7e29a857 devel/electron30: update to 30.2.0
Changelog: https://github.com/electron/electron/releases/tag/v30.2.0

Reported by:	GitHub (watch releases)
MFH:		2024Q3
Security:	6410f91d-1214-4f92-b7e0-852e39e265f9
2024-07-16 18:19:33 +09:00

11 lines
464 B
C++

--- electron/shell/browser/native_window.cc.orig 2024-07-09 23:10:34 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);