lp:~mc-return/compiz/compiz.merge-src-header-files-cleanup
- Get this branch:
- bzr branch lp:~mc-return/compiz/compiz.merge-src-header-files-cleanup
Branch merges
- Compiz Maintainers: Pending requested
-
Diff: 980 lines (+311/-234)9 files modifiedsrc/asyncserverwindow.h (+4/-0)
src/configurerequestbuffer-impl.h (+7/-3)
src/eventmanagement.h (+0/-2)
src/privateaction.h (+7/-6)
src/privateeventsource.h (+3/-3)
src/privateiosource.h (+11/-8)
src/privatematch.h (+17/-6)
src/privateoption.h (+10/-6)
src/privatescreen.h (+252/-200)
Recent revisions
- 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.
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