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

Created by MC Return and last modified
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

More cleanup

3727. By MC Return

Merged latest lp:compiz and fixed conflicts

3726. By MC Return

More cleanup

3725. By MC Return

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

3724. By MC Return

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

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

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

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

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

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