Browse Source

fix: mouse doesn't work on frameless browserwindows (#30459)

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]>
trop[bot] 3 years ago
parent
commit
b3cca6e88d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      shell/browser/native_window_views.cc

+ 0 - 2
shell/browser/native_window_views.cc

@@ -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);