lp:~compiz-team/compiz/compiz.fix_1165343

Created by Sam Spilsbury and last modified
Get this branch:
bzr branch lp:~compiz-team/compiz/compiz.fix_1165343
Members of Compiz Maintainers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Compiz Maintainers
Project:
Compiz
Status:
Merged

Recent revisions

3663. By Sam Spilsbury

Merge lp:compiz

3662. By Sam Spilsbury

Make the actual difference between decorations the threshold and continue
to record changes in decoration shift even for non-placed windows (even if
we don't move them ourselves).

3661. By Sam Spilsbury

Fix typoes in the manual tests

3660. By Sam Spilsbury

Added some manual tests

3659. By Sam Spilsbury

Remove printf

3658. By Sam Spilsbury

Change the behaviour of undecorating windows.

  Previously when a window was undecorated, we would shift it back to an appropriate position
  according to its gravity member. That behaviour was problematic because in the StaticGravity
  case the window has to just stay in the same place. But then if you had a window with StaticGravity
  which then did get a decoration and later removed it, it would be placed as though it was
  decorated and appear to be in the wrong place.

  The correct behaviour is to place all windows as though they have decorations, and then when
  decorations are removed, to move the window back to the corner as indicated in its gravity
  and then expand its size to cover the obscured regions no longer hidden because the decorations
  went away.

  The spec is unfortunately not so clear what to do in this case. But KWin does it this way
  and it seems to be the sanest way of doing it.

  (LP: #1165343)

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.

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.