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
return window_->IsVisible();
}
bool NativeWindowViews::IsEnabled() {
#if defined(OS_WIN)
  return ::IsWindowEnabled(GetAcceleratedWidget());
#elif defined(USE_X11)
  return !event_disabler_.get();
#endif
}
void NativeWindowViews::Maximize() {
#if defined(OS_WIN)
  
  if (!thick_frame_) {
    restore_bounds_ = GetBounds();
    auto display =
        display::Screen::GetScreen()->GetDisplayNearestPoint(GetPosition());
    SetBounds(display.work_area(), false);
    return;
  }
#endif
  if (IsVisible())
    window_->Maximize();
  else
    window_->native_widget_private()->ShowWithWindowState(
        ui::SHOW_STATE_MAXIMIZED);
}
void NativeWindowViews::Unmaximize() {