~3v1n0/unity/quick-alt+tab-fixes.stable

Viewing all changes in revision 1721.

  • Committer: Marco Trevisan (Treviño)
  • Date: 2011-12-14 02:13:40 UTC
  • Revision ID: mail@3v1n0.net-20111214021340-k124pxjt4tl6hk4q
Make the quick Alt+Tab more consistent.

The quick Alt+Tab should be handled in a different way according to
bug #861250, so I've made it possible by making the SwitcherController
to use the ActionArg button member to define the type of the switch that
has been performed (I've made this not to add an extra member to the class).
Then the activated BamfLauncherIcon redirects this information to the
PluginAdapter's FocusWindowGroup that now when called with the
FocusVisibility::OnlyVisibleOnTop visibility option, just brings to
focus the first window that is on top of the stack (for the given
application).

A manual test is included.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: