~3v1n0/unity/scale-window-cast-protection

« back to all changes in this revision

Viewing changes to launcher/XdndCollectionWindowImp.cpp

UScreen: use better API, const methods and remove useless includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    WindowManager::Default().window_moved.connect(sigc::mem_fun(this, &PrivateWindow::OnWindowMoved));
56
56
  }
57
57
 
58
 
  void OnScreenChanged(int /*primary*/, std::vector<nux::Geometry>& /*monitors*/)
 
58
  void OnScreenChanged(int /*primary*/, std::vector<nux::Geometry> const& /*monitors*/)
59
59
  {
60
60
    auto uscreen = UScreen::GetDefault();
61
61
    SetGeometry(uscreen->GetScreenGeometry());