~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to launcher/SwitcherController.h

  • Committer: Tarmac
  • Author(s): Łukasz 'sil2100' Zemczak
  • Date: 2012-10-30 15:54:17 UTC
  • mfrom: (2866.3.5 fix_alt_tab_horrors)
  • Revision ID: tarmac-20121030155417-aqu1qtnmghvlco4t
A workaround fix for Alt+TAB picking up wrong window when used on a application group. The check for Quirk::ACTIVE is not valid right now due to the fact we're making the switcher window active prior to display (this is done this way to fix some other bugs). So a workaround is to save the last active window prior to this action and use this during the checks. It fixes a very annoying bug.. Fixes: https://bugs.launchpad.net/bugs/1071298. Approved by Andrea Azzarone, Thomi Richards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
  nux::Color bg_color_;
139
139
  DetailMode detail_mode_;
140
140
 
 
141
  launcher::AbstractLauncherIcon::Ptr last_active_selection_;
 
142
 
141
143
  UBusManager ubus_manager_;
142
144
  glib::SourceManager sources_;
143
145
};