Merge lp:~brandontschaefer/unity/alt+tab-focus-fix-6.0 into lp:unity/6.0
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2741 |
Proposed branch: | lp:~brandontschaefer/unity/alt+tab-focus-fix-6.0 |
Merge into: | lp:unity/6.0 |
Diff against target: |
36 lines (+17/-1) 2 files modified
manual-tests/Switcher.txt (+15/-0) plugins/unityshell/src/unityshell.cpp (+2/-1) |
To merge this branch: | bzr merge lp:~brandontschaefer/unity/alt+tab-focus-fix-6.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | Approve | ||
Review via email: mp+126287@code.launchpad.net |
Commit message
Fixes alt+tab losing focus when alt+tabing to quickly due to ubus being to slow to send a message.
Description of the change
When alt+tabing quick enough and sometimes it would lose focus. This was caused by ubus sometimes sending the UBUS_SWITCHER_START message after the switcher has shown...which focuses the switcher window...but since the switcher window was closed it stole the focus. Now it checks if the switcher is visible BEFORE focusing the input to the window.
There would be no reasonable/
To post a comment you must log in.
Good for me, waiting for the manual test before globally approving.