lp:~mc-return/compiz/compiz.merge-fix1169353-screenshot-needs-color-options

Created by MC Return and last modified
Get this branch:
bzr branch lp:~mc-return/compiz/compiz.merge-fix1169353-screenshot-needs-color-options
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

3662. By MC Return

We really never need to damage more than the selected region, removed
call to cScreen->damageScreen (); completely

3661. By MC Return

We just want to draw the screenshot selection box if
we are grabbed, the size has changed and the CCSM
option to draw it is enabled

Introduced the new variable bool selectionSizeChanged,
which is true if the size of the selection has changed

Only damage the full screen once, if the grab gets
terminated, during grab just damage the region painted
(the screenshot selection box)

Reduced the cope of the variables x1, y1, x2 and y2
C++ style for comments

3660. By MC Return

Replaced magic number 65535.0f with const float MaxUShortFloat =
std::numeric_limits <unsigned short>::max ();

Removed redundant #ifndef USE_GLES compiler option, GLES can cope with
GL_BLEND

3659. By MC Return

Better names for the screenshot selection colors
Use prefix- instead of postfix increment
Removed redundant (float) casts

3658. By MC Return

*Screenshot, xml:

Better plugin summary
Added option to disable the drawing of the screenshot selection indicator
Added options to change color and opacity of outline and inside of the
rectangle indicator
Other minor improvements

*Screenshot, code:

Do not render anything if indicator is disabled
Indicator colors are now configurable
Minor cleanup in the rendering code
Declaration and assignment of local variables in one line
Indentation fixes

3657. By Sam Spilsbury

Install compizconfig backends to the correct libdir

(LP: #1163611). Fixes: https://bugs.launchpad.net/bugs/1163611.

Approved by PS Jenkins bot, MC Return.

3656. By MC Return

Screenshot code cleanup:

Used standard bool for mGrab.
Merged a few if condition checks.
Declaration and assignment of local variables in one line.
Removed redundant brackets.
Added and removed newlines to improve readability.
Added a missing break (just a style issue).
Fixed indentation.
C++ style for comments.

Approved by PS Jenkins bot, Sam Spilsbury.

3655. By MC Return

Freewins xml:
Fixed False->false and True->true typos.

Credits and thanks for finding cause and fix go to raveit65 !

(LP: #1163606). Fixes: https://bugs.launchpad.net/bugs/1163606.

Approved by PS Jenkins bot, Sam Spilsbury.

3654. By MC Return

*Move xml:

Implemented options to configure:

"Snapoff Distance"
"Snapback Semimaximized Windows" and
"Snapback Distance"

Improved a few tooltips.

*Move code:

Replaced SNAP_BACK and SNAP_OFF hardcoded constants and made those
configurable.

Implemented a strategy to snap off horizontally maximized windows by
dragging them along the x axis.

Implemented snapping back of horizontally maximized windows and fixed
the snapping for vertically maximized windows (wrong cursor calculation).

Fixed a few wrong calculations in the if condition checks responsible
for snapping off and back.

Merged if condition checks.

Just compute various local variables if we do not return false.

Removed redundant brackets, fixed indentation and improved readability.

(LP: #1165198, LP: #1167933). Fixes: https://bugs.launchpad.net/bugs/1165198, https://bugs.launchpad.net/bugs/1167208, https://bugs.launchpad.net/bugs/1167933.

Approved by PS Jenkins bot, Sam Spilsbury.

3653. By Hu Kang <email address hidden>

workarounds.cpp: Fix typo in call to XShapeSelectInput.

(LP: #1167284). Fixes: https://bugs.launchpad.net/bugs/1167284.

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