ports/devel/electron13/files/patch-electron_shell_browser_native__window.cc

11 lines
459 B
C++

--- electron/shell/browser/native_window.cc.orig 2021-10-27 21:25:28 UTC
+++ electron/shell/browser/native_window.cc
@@ -150,7 +150,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D
} else {
SetSizeConstraints(size_constraints);
}
-#if defined(OS_WIN) || defined(OS_LINUX)
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
bool resizable;
if (options.Get(options::kResizable, &resizable)) {
SetResizable(resizable);