Merge lp:~compiz-team/compiz-core/compiz-core.fix_874004 into lp:compiz-core/0.9.5
Proposed by
Sam Spilsbury
Status: | Merged |
---|---|
Approved by: | Mirco Müller |
Approved revision: | 2882 |
Merged at revision: | 2884 |
Proposed branch: | lp:~compiz-team/compiz-core/compiz-core.fix_874004 |
Merge into: | lp:compiz-core/0.9.5 |
Diff against target: |
118 lines (+57/-5) 2 files modified
plugins/scale/src/privates.h (+1/-1) plugins/scale/src/scale.cpp (+56/-4) |
To merge this branch: | bzr merge lp:~compiz-team/compiz-core/compiz-core.fix_874004 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mirco Müller (community) | Approve | ||
Review via email: mp+79400@code.launchpad.net |
Description of the change
Fix bug 874004
To post a comment you must log in.
As mentioned on IRC this overlaps with a different commit, so just looking at scale.cpp/ privates. h (rev 2881).
I would give it the seal of approval, if you'd check and protect against these edge-cases:
priv- >slot-> scale == 1.0
window->x() == -1.0 * priv->tx
window->y() == -1.0 * priv->ty
At the moment those would still lead to a division by zero.