opnsense-ports/devel/electron22/files/patch-electron_shell_browser_native__window.cc
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

11 lines
469 B
C++

--- electron/shell/browser/native_window.cc.orig 2022-05-18 15:31:32 UTC
+++ electron/shell/browser/native_window.cc
@@ -185,7 +185,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 resizable;
if (options.Get(options::kResizable, &resizable)) {
SetResizable(resizable);