mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: mouse doesn't work on frameless browserwindows (#30460)
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 <charles@charleskerr.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user