~smspillaz/unity/mock_switcher_view

« back to all changes in this revision

Viewing changes to launcher/SwitcherController.cpp

Merged extract_switcher_view_interface into mock_switcher_view.

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
  last_active_selection_ = nullptr;
388
388
 
389
389
  view_.reset();
390
 
  nux_view_ = nullptr;
391
 
  introspectable_view_ = nullptr;
392
390
 
393
391
  if (view_window_)
394
392
  {
396
394
    view_window_->ShowWindow(false);
397
395
    view_window_->PushToBack();
398
396
    view_window_->EnableInputWindow(false);
 
397
 
 
398
    /* We must do this here, as SetInputFocusArea causes the
 
399
     * nux::BaseWindow to hang on to a reference to the
 
400
     * nux::View when it is initially called */
 
401
    view_window_->SetEnterFocusInputArea(nullptr);
399
402
  }
 
403
 
 
404
  nux_view_ = nullptr;
 
405
  introspectable_view_ = nullptr;
400
406
}
401
407
 
402
408
bool ShellController::Visible()