Merge lp:~thumper/unity/unity.alt-tab-workspaces into lp:unity
Status: | Merged |
---|---|
Approved by: | Thomi Richards |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2032 |
Proposed branch: | lp:~thumper/unity/unity.alt-tab-workspaces |
Merge into: | lp:unity |
Diff against target: |
37 lines (+19/-3) 2 files modified
manual-tests/Switcher.txt (+18/-0) plugins/unityshell/src/unityshell.cpp (+1/-3) |
To merge this branch: | bzr merge lp:~thumper/unity/unity.alt-tab-workspaces |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomi Richards (community) | Approve | ||
Tim Penhey | Pending | ||
Review via email: mp+94906@code.launchpad.net |
This proposal supersedes a proposal from 2012-02-22.
Description of the change
Code correctness fix.
Fixes potential multi-monitor issue with alt-tab getting settings confused.
= Problem description =
We passed an int into a function expecting a bool. This caused the switcher to confuse its settings and act weirdly.
= The fix =
We pass a bool now.
= Test coverage =
Existing tests cover a degree of this behavior. Currently testing does not cover multi-monitor behavior however (which is where this bug showed up). The fix is obvious and the current code is clearly and demonstrably wrong, to the point of passing the wrong type into a function.
A manual test was added for the multi-monitor work.
Needs testing