Don't use raw loops, instead, use appropriate algorithm from STL to map
a list of toplevels to a list of EffectWindow.
Details
Details
- Reviewers
graesslin - Group Reviewers
KWin - Commits
- R108:e0bbf5c87f62: Use std::transform in libkwineffects implementation part
Tested Cover switch, Flip switch, Dialog parent, and Dim inactive effect.
They all still work.
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Nice. To our defense: c++ wasn't that nice when that code was written.
effects.cpp | ||
---|---|---|
1086 | I would just use (auto client) - we can use c++14 in KWin. |