Merge lp:~3v1n0/unity/super-tab-improvements into lp:unity
Proposed by
Marco Trevisan (Treviño)
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Marco Trevisan (Treviño) | ||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||
Merged at revision: | 1875 | ||||||||||||
Proposed branch: | lp:~3v1n0/unity/super-tab-improvements | ||||||||||||
Merge into: | lp:unity | ||||||||||||
Prerequisite: | lp:~3v1n0/unity/super-tab-switcher-shortcut-interaction | ||||||||||||
Diff against target: |
284 lines (+126/-10) 5 files modified
manual-tests/SuperTab.txt (+33/-0) plugins/unityshell/src/Launcher.cpp (+36/-7) plugins/unityshell/src/Launcher.h (+1/-0) plugins/unityshell/src/unityshell.cpp (+54/-3) plugins/unityshell/src/unityshell.h (+2/-0) |
||||||||||||
To merge this branch: | bzr merge lp:~3v1n0/unity/super-tab-improvements | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury (community) | Approve | ||
Review via email: mp+89371@code.launchpad.net |
Description of the change
Improved the Super+Tab switcher making possible to escape from it using the Esc key and making the selection circular.
This branch mostly fixes bug #919018 and bug #919019 as requested by design on recent updates of the main bug #891620
To post a comment you must log in.
49 - if ((*it)- >GetCenter( ).y + - _icon_size/ 2 < GetGeometry().y) >GetCenter( ).y - _icon_size / 2 < GetGeometry().y)
50 + if ((*it)-
51 + {
That should test for > 0. In the diff it initially looked like you were changing a + to a - :)
52 _launcher_ drag_delta += (_icon_size + _space_ between_ icons); >GetCenter( ).y + _icon_size / 2 > GetGeometry( ).height) drag_delta -= (*it)-> GetCenter( ).y + _icon_size/2 + between_ icons - GetGeometry( ).height;
53 + }
54 + else if ((*it)-
55 + {
56 + _launcher_
57 + _space_
58 + }
59 }
Other than that. Approve