summaryrefslogtreecommitdiff
path: root/hud
diff options
authorChris Townsend <christopher.townsend@canonical.com>2013-12-13 16:45:53 -0500
committerChris Townsend <christopher.townsend@canonical.com>2013-12-13 16:45:53 -0500
commit6779f53cd04cb867cf368c19bea527bcca671c72 (patch)
tree24c7feb3a2f510a6352c5b20ea970233e0a3a2c4 /hud
parente46aad4201b5dec526092b355cddf032903785e8 (diff)
When hiding the Dash & Hud views, zero out the geometry and update the blur background size. This fixes the issue where the blur background wouldn't be updated when using static blur on subsequent opens of the Dash and Hud.
Fixes LP: #834777 (bzr r3608.3.1)
Diffstat (limited to 'hud')
-rw-r--r--hud/HudView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/hud/HudView.cpp b/hud/HudView.cpp
index e73775dd2..cd977ba4c 100644
--- a/hud/HudView.cpp
+++ b/hud/HudView.cpp
@@ -353,6 +353,9 @@ void View::AboutToShow()
void View::AboutToHide()
{
+ nux::Geometry geo = {0, 0, 0, 0};
+ renderer_.UpdateBlurBackgroundSize(geo, GetAbsoluteGeometry(), true);
+
visible_ = false;
overlay_window_buttons_->Hide();
renderer_.AboutToHide();