FreeBSD Bugzilla – Attachment 179955 Details for
Bug 217078
x11/kde4-workspace: fails to build on armv6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
x11_kde4-workspace.diff (text/plain), 2.83 KB, created by
Mikael Urankar
on 2017-02-13 18:32:14 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2017-02-13 18:32:14 UTC
Size:
2.83 KB
patch
obsolete
>Index: files/patch-kwin_effects_blur_blur.cpp >=================================================================== >--- files/patch-kwin_effects_blur_blur.cpp (nonexistent) >+++ files/patch-kwin_effects_blur_blur.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- 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())) > >Property changes on: files/patch-kwin_effects_blur_blur.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-kwin_scene__xrender.cpp >=================================================================== >--- files/patch-kwin_scene__xrender.cpp (nonexistent) >+++ files/patch-kwin_scene__xrender.cpp (working copy) >@@ -0,0 +1,20 @@ >+--- kwin/scene_xrender.cpp.orig 2017-01-11 16:04:04 UTC >++++ kwin/scene_xrender.cpp >+@@ -392,7 +392,7 @@ void SceneXrender::Window::performPaint( >+ { >+ setTransformedShape(QRegion()); // maybe nothing will be painted >+ // check if there is something to paint >+- bool opaque = isOpaque() && qFuzzyCompare(data.opacity(), 1.0); >++ bool opaque = isOpaque() && qFuzzyCompare(data.opacity(), qreal(1.0)); >+ /* HACK: It seems this causes painting glitches, disable temporarily >+ if (( mask & PAINT_WINDOW_OPAQUE ) ^ ( mask & PAINT_WINDOW_TRANSLUCENT )) >+ { // We are only painting either opaque OR translucent windows, not both >+@@ -469,7 +469,7 @@ void SceneXrender::Window::performPaint( >+ xscale *= screen_paint.xScale(); >+ yscale *= screen_paint.yScale(); >+ } >+- if (!qFuzzyCompare(xscale, 1.0) || !qFuzzyCompare(yscale, 1.0)) { >++ if (!qFuzzyCompare(xscale, qreal(1.0)) || !qFuzzyCompare(yscale, qreal(1.0))) { >+ scaled = true; >+ xform.matrix11 = DOUBLE_TO_FIXED(1.0 / xscale); >+ xform.matrix22 = DOUBLE_TO_FIXED(1.0 / yscale); > >Property changes on: files/patch-kwin_scene__xrender.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217078
: 179955