Merge lp:~sjakthol/compiz/fix-fade-damaging into lp:compiz/0.9.10
Proposed by
Sami Jaktholm
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Stephen M. Webb | ||||
Approved revision: | 3721 | ||||
Merged at revision: | 3721 | ||||
Proposed branch: | lp:~sjakthol/compiz/fix-fade-damaging | ||||
Merge into: | lp:compiz/0.9.10 | ||||
Diff against target: |
16 lines (+2/-2) 1 file modified
plugins/fade/src/fade.cpp (+2/-2) |
||||
To merge this branch: | bzr merge lp:~sjakthol/compiz/fix-fade-damaging | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Stephen M. Webb | Approve | ||
MC Return | Approve | ||
Review via email: mp+164888@code.launchpad.net |
Commit message
Fade: Fix a typo that causes fade to constantly damage windows with a modified
saturation.
Description of the change
What happens:
1) (Original) saturation is stored in newSaturation
2) saturation is updated
3) newSaturation (which was original saturation) is copied to saturation
In the end both saturation and newSaturation have the same value (the initial saturation). If an another plugin had changed the saturation, fAttrib.saturation != newSaturation and fade damages the window.
To post a comment you must log in.
LGTM.
+1. Great.