lp:~compiz-team/compiz/compiz.fix_1165343
- Get this branch:
- bzr branch lp:~compiz-team/compiz/compiz.fix_1165343
Branch merges
- MC Return: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Compiz Maintainers: Pending requested
-
Diff: 642 lines (+178/-158)9 files modifiedplugins/decor/src/decor.cpp (+78/-38)
plugins/decor/src/decor.h (+6/-0)
plugins/place/src/constrain-to-workarea/include/constrain-to-workarea.h (+3/-6)
plugins/place/src/constrain-to-workarea/src/constrain-to-workarea.cpp (+25/-49)
plugins/place/src/constrain-to-workarea/tests/constrain-to-workarea/src/test-place-constrain-to-workarea.cpp (+4/-57)
plugins/place/src/place.cpp (+3/-8)
src/window/extents/src/windowextents.cpp (+10/-0)
tests/manual/README.txt (+9/-0)
tests/manual/plugins/decor.txt (+40/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 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). - 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