Browse Source

fix: initial frame on frameless windows

Shelley Vohr 3 years ago
parent
commit
0bb0c1f8bf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      shell/browser/native_window_views.cc

+ 1 - 0
shell/browser/native_window_views.cc

@@ -222,6 +222,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,
   params.delegate = this;
   params.type = views::Widget::InitParams::TYPE_WINDOW;
   params.remove_standard_frame = !has_frame();
+  params.can_resize = resizable_;
 
   if (transparent())
     params.opacity = views::Widget::InitParams::WindowOpacity::kTranslucent;