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 (!thick_frame_) {
    SetBounds(restore_bounds_, false);
    return;
  }
#endif
  window_->Restore();
}
bool NativeWindowViews::IsMaximized() {
  return window_->IsMaximized();
}
void NativeWindowViews::Minimize() {
  if (IsVisible())
    window_->Minimize();
  else
    window_->native_widget_private()->ShowWithWindowState(
        ui::SHOW_STATE_MINIMIZED);
}
void NativeWindowViews::Restore() {