lp:~mc-return/compiz/compiz.merge-fix1161343-showdesktop-needs-random-movement-direction-option
Created by
MC Return
and last modified
- Get this branch:
- bzr branch lp:~mc-return/compiz/compiz.merge-fix1161343-showdesktop-needs-random-movement-direction-option
Branch merges
Propose for merging
No branches
dependent on this one.
- PS Jenkins bot (community): Approve (continuous-integration)
- MC Return: Approve
- Compiz Maintainers: Pending requested
-
Diff: 853 lines (+534/-141)3 files modifiedplugins/showdesktop/showdesktop.xml.in (+29/-5)
plugins/showdesktop/src/showdesktop.cpp (+414/-120)
plugins/showdesktop/src/showdesktop.h (+91/-16)
Related bugs
Related blueprints
Recent revisions
- 3651. By Sam Spilsbury
-
Refactor ShowdesktopPlacer.
1. Removed #define macros and replaced them with inline functions in ::
2. Refactored out the offset algorithms into separate functions
3. Placed the actual offset + setting algorithms into ShowdesktopPlacer
and re-use where appropriate. This reduces the size of ShowdesktopWindow::repositionP lacer - 3650. By MC Return
-
Indentation fixes
Removal of redundant brackets
Declare and assign variables in one line - 3645. By MC Return
-
Reduced the scope of random number generation,
just calculate rValIR and rValFR if needed -
initialization outside the case is enough
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:compiz/0.9.9