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
Only MC Return can upload to this branch. If you are MC Return please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
MC Return
Project:
Compiz
Status:
Merged

Recent revisions

3652. By MC Return

Fixed bottomLeft calculation

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::repositionPlacer

3650. By MC Return

Indentation fixes
Removal of redundant brackets
Declare and assign variables in one line

3649. By MC Return

No need to call damageScreen () here, the damage is already done

3648. By MC Return

Simplified void ShowdesktopScreen::donePaint ()

3647. By MC Return

Added comment

3646. By MC Return

Initialize rValIR and rValFR enums immediately

3645. By MC Return

Reduced the scope of random number generation,
just calculate rValIR and rValFR if needed -
initialization outside the case is enough

3644. By MC Return

Created enums replacing magic numbers
enum IRDirection represents allowed directions
in Intelligent Random Direction mode, while
enum FRDirection represents allowed directions
in Fully Random Direction mode

3643. By MC Return

Also implemented individual movement options for all 4 corners
and added "Fully Random" mode

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
This branch contains Public information 
Everyone can see this information.

Subscribers