lp:~mc-return/compiz/compiz.merge-src-header-files-cleanup

Created by MC Return on 2013-05-26 and last modified on 2013-06-20
Get this branch:
bzr branch lp:~mc-return/compiz/compiz.merge-src-header-files-cleanup
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:
Mature

Recent revisions

3728. By MC Return on 2013-06-20

More cleanup

3727. By MC Return on 2013-06-20

Merged latest lp:compiz and fixed conflicts

3726. By MC Return on 2013-06-20

More cleanup

3725. By MC Return on 2013-05-26

src/*.h files cleanup (please see main commit message for details)

3724. By MC Return on 2013-05-25

Rotate Cube code cleanup:

Simplified a few calculations of this type:
(360.0 / (x * 2.0)) == 180 / x
Declaration and assignment of variables in one line.
Use pre- instead of postfix de- and increments.
Merged if condition checks.
Added and removed newlines and brackets.
Fixed indentation.
Added TODO comments.

Approved by PS Jenkins bot, Sam Spilsbury.

3723. By MC Return on 2013-05-25

action.cpp and actions.cpp code cleanup:

Use pre- instead of postfix increment.
Declaration and assignment of variables in one line.
Merged if condition checks.
Removed redundant brackets.
Added and removed newlines.
Fixed indentation.

Approved by PS Jenkins bot, Sam Spilsbury.

3722. By Sami Jaktholm on 2013-05-25

Grid: Fix window misplacement if a window is restored but the size doesn't
      change.

- Set isGridResized to false before configuring the window in
  GridScreen::restoreWindow.

  If the restored geometry is the same as current geometry, configureXWindow
  will trigger moveNotify instead of resizeNotify. As isGridResized is still
  true, GridWindow::moveNotify blocks the restoration movement and the pointer
  detaches from the decoration.

- Don't use pointerBufs when calculating position of the restored window with
  snapback windows disabled.

  The window will be positioned a bit too high (or low) and the pointer
  detaches from decoration if the movement was actually tracked. This was a
  workaround for the first point and can be safely removed. Fixes: https://bugs.launchpad.net/bugs/1115344.

Approved by PS Jenkins bot, MC Return.

3721. By Sami Jaktholm on 2013-05-21

Fade: Fix a typo that causes fade to constantly damage windows with a modified
      saturation. Fixes: https://bugs.launchpad.net/bugs/1159054.

Approved by PS Jenkins bot, Stephen M. Webb, MC Return.

3720. By MC Return on 2013-05-20

Cube code cleanup:

Replaced 0xffff with GLfloat MaxUShortFloat = static_cast <GLfloat>
(std::numeric_limits <unsigned short>::max ());.
Use prefix instead of postfix de- and increments.
Declaration and assignment of variables in one line.
Declare variables shortly before you need them.
Merged if condition checks.
Added missing breaks (just a style issue).
Added and removed brackets.
Added and removed newlines.
Fixed indentation.

Approved by PS Jenkins bot, Sam Spilsbury.

3719. By MC Return on 2013-05-20

Commands, minor code cleanup:

Declaration and assignment of variables in one line.
Return ASAP.
Added and removed newlines.
Fixed indentation.

Approved by PS Jenkins bot, Sam Spilsbury.

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

Subscribers