summaryrefslogtreecommitdiff
path: root/x11/kde-workspace-kde4/files/patch-kwin_effects_blur_blur.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde-workspace-kde4/files/patch-kwin_effects_blur_blur.cpp')
-rw-r--r--x11/kde-workspace-kde4/files/patch-kwin_effects_blur_blur.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/kde-workspace-kde4/files/patch-kwin_effects_blur_blur.cpp b/x11/kde-workspace-kde4/files/patch-kwin_effects_blur_blur.cpp
new file mode 100644
index 000000000000..f41d9a184da9
--- /dev/null
+++ b/x11/kde-workspace-kde4/files/patch-kwin_effects_blur_blur.cpp
@@ -0,0 +1,13 @@
+Fix ambiguous call on armv6.
+
+--- kwin/effects/blur/blur.cpp.orig 2017-01-11 16:01:39 UTC
++++ kwin/effects/blur/blur.cpp
+@@ -387,7 +387,7 @@ bool BlurEffect::shouldBlur(const Effect
+ if (w->isDesktop())
+ return false;
+
+- bool scaled = !qFuzzyCompare(data.xScale(), 1.0) && !qFuzzyCompare(data.yScale(), 1.0);
++ bool scaled = !qFuzzyCompare(data.xScale(), qreal(1.0)) && !qFuzzyCompare(data.yScale(), qreal(1.0));
+ bool translated = data.xTranslation() || data.yTranslation();
+
+ if (scaled || ((translated || (mask & PAINT_WINDOW_TRANSFORMED)) && !w->data(WindowForceBlurRole).toBool()))