Merge lp:~townsend/compiz/fix-workspace-switch into lp:compiz/0.9.11
Status: | Merged |
---|---|
Approved by: | Francis Ginther |
Approved revision: | 3799 |
Merged at revision: | 3806 |
Proposed branch: | lp:~townsend/compiz/fix-workspace-switch |
Merge into: | lp:compiz/0.9.11 |
Diff against target: |
17 lines (+5/-3) 1 file modified
plugins/wall/src/wall.cpp (+5/-3) |
To merge this branch: | bzr merge lp:~townsend/compiz/fix-workspace-switch |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Brandon Schaefer (community) | Approve | ||
Review via email: mp+193309@code.launchpad.net |
Commit message
Second part of the fix to keep the workspace from automatically switching when more than half of the window is contained in another workspace.
Description of the change
= Issue =
The issue was that if a window was contained more than 50% into a different workspace, then the workspace would switch and the window would completely move to the workspace. I already have a fix in Compiz for the automatic window movement, but the automatic workspace switch would still occur.
= Fix =
This addresses the automatic workspace switch. Care had to be taken to still allow the workspace switch if the window is completely contained in another workspace, such as clicking on the icon in the Launcher. So, if any part of the window is contained in the current workspace, then the workspace will not switch automatically.
PASSED: Continuous integration, rev:3799 jenkins. qa.ubuntu. com/job/ compiz- ci/302/ jenkins. qa.ubuntu. com/job/ compiz- saucy-amd64- ci/116 jenkins. qa.ubuntu. com/job/ compiz- saucy-armhf- ci/115 jenkins. qa.ubuntu. com/job/ compiz- saucy-i386- ci/115
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: 10.97.0. 26:8080/ job/compiz- ci/302/ rebuild
http://