While the [`win.setFullScreen(false)`](https://github.com/electron/electron/blob/master/docs/api/browser-window.md#winsetfullscreenflag) works as expected on macOS and Windows, it seems that on Ubuntu it goes to full screen regardless of the argument.
- Electron version: 1.2.8
- Operating system: Ubuntu 64bit 16.04

atom/browser/native_window_views.cc
#if defined(OS_WIN)
  if (IsMinimized())
    return window_->GetRestoredBounds();
#endif
  return window_->GetWindowBoundsInScreen();
}
gfx::Rect NativeWindowViews::GetContentBounds() {
  return web_view_->GetBoundsInScreen();
}
gfx::Size NativeWindowViews::GetContentSize() {
#if defined(OS_WIN)
  if (IsMinimized())
    return NativeWindow::GetContentSize();
#endif
  return web_view_->size();
}
void NativeWindowViews::SetContentSizeConstraints(
    const extensions::SizeConstraints& size_constraints) {
  NativeWindow::SetContentSizeConstraints(size_constraints);
  
  
  if (window_ && window_->widget_delegate())
    window_->OnSizeConstraintsChanged();
#if defined(USE_X11)
  if (resizable_)
    old_size_constraints_ = size_constraints;
#endif
}
void NativeWindowViews::SetResizable(bool resizable) {