Fixes #30402. This bug is from the "CanResize has been de-virtualized" refactor in https://github.com/electron/electron/pull/29256 Co-authored-by: Charles Kerr <[email protected]>
@@ -217,9 +217,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,
#endif
widget()->Init(std::move(params));
-#if defined(OS_WIN)
SetCanResize(resizable_);
-#endif
bool fullscreen = false;
options.Get(options::kFullscreen, &fullscreen);