diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-02-18 19:06:38 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-02-18 19:06:38 +0100 |
| commit | 6060f1f35275706d411b901268558240e8b8bc2e (patch) | |
| tree | 6a363f54921a6b73ccd0aba40d5da6adf769e8cc /shutdown | |
| parent | 2b4a0df4f8af330983a81aa48a0492aa6a332e50 (diff) | |
SessionController: use new API
(bzr r3144.4.53)
Diffstat (limited to 'shutdown')
| -rw-r--r-- | shutdown/SessionController.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shutdown/SessionController.cpp b/shutdown/SessionController.cpp index ae02335ff..88eb5a59e 100644 --- a/shutdown/SessionController.cpp +++ b/shutdown/SessionController.cpp @@ -90,7 +90,7 @@ void Controller::Show() view_window_->GrabKeyboard(); } - view_->SetupBackground(true); + view_->live_background = true; view_window_->ShowWindow(true); view_window_->PushToFront(); view_window_->SetInputFocus(); @@ -126,7 +126,6 @@ nux::Point Controller::GetOffsetPerMonitor(int monitor) void Controller::ConstructView() { view_ = View::Ptr(new View(manager_)); - view_->SetupBackground(false); view_->background_color = bg_color_; AddChild(view_.GetPointer()); @@ -183,7 +182,7 @@ void Controller::CloseWindow() view_window_->UnGrabPointer(); view_window_->UnGrabKeyboard(); view_window_->EnableInputWindow(false); - view_->SetupBackground(false); + view_->live_background = false; manager_->ClosedDialog(); WindowManager::Default().RestoreInputFocus(); |
