https://bugs.kde.org/show_bug.cgi?id=391860
Bug ID: 391860 Summary: Compare floating point numbers properly in libkwineffects Product: kwin Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: compositing Assignee: kwin-bugs-n...@kde.org Reporter: vladz...@gmail.com Target Milestone: --- WindowQuad, WindowQuadList, and WindowMotionManager use '==' to compare floating point numbers, this is completely wrong. Please note, we can't use qFuzzyCompare because it doesn't work if one of numbers is 0. For reference, Boost's docs on floating point comparison. http://www.boost.org/doc/libs/1_61_0/libs/math/doc/html/math_toolkit/float_comparison.html -- You are receiving this mail because: You are watching all bug changes.