Initially set resizable property on Linux

This commit is contained in:
Kevin Sawicki 2016-03-04 16:12:58 -08:00
parent 73f6162f5c
commit 67edcc8f91

View file

@ -120,11 +120,11 @@ NativeWindowViews::NativeWindowViews(
minimizable_(true) {
options.Get(options::kTitle, &title_);
options.Get(options::kAutoHideMenuBar, &menu_bar_autohide_);
options.Get(options::kResizable, &resizable_);
#if defined(OS_WIN)
// On Windows we rely on the CanResize() to indicate whether window can be
// resized, and it should be set before window is created.
options.Get(options::kResizable, &resizable_);
options.Get(options::kMinimizable, &minimizable_);
options.Get(options::kMaximizable, &maximizable_);
#endif