summaryrefslogtreecommitdiff
path: root/plugins
diff options
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 12c426a21..b8a1c4877 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -306,6 +306,13 @@ UnityScreen::UnityScreen(CompScreen* screen)
{
unity_settings_.low_gfx = false;
}
+
+ if (unity_settings_.low_gfx())
+ BackgroundEffectHelper::blur_type = BLUR_NONE;
+
+ Settings::Instance().low_gfx.changed.connect(sigc::track_obj([this] (bool low_gfx) {
+ BackgroundEffectHelper::blur_type = low_gfx ? BLUR_NONE : (unity::BlurType) optionGetDashBlurExperimental();
+ }, *this));
#endif
if (!failed)