Merge lp:~brandontschaefer/unity/alt+tab-fixes into lp:unity
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Nick Dedekind |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2752 |
Proposed branch: | lp:~brandontschaefer/unity/alt+tab-fixes |
Merge into: | lp:unity |
Diff against target: |
13 lines (+2/-1) 1 file modified
plugins/unityshell/src/unityshell.cpp (+2/-1) |
To merge this branch: | bzr merge lp:~brandontschaefer/unity/alt+tab-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nick Dedekind (community) | Approve | ||
Review via email: mp+126134@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.
Makes sense.
LGTM.