~fboucault/unity-2d/declarative_view_global_pos

Viewing all changes in revision 653.1.2.

  • Committer: Gerry Boland
  • Date: 2011-08-01 11:58:35 UTC
  • mto: This revision was merged to the branch mainline in revision 662.
  • Revision ID: gerboland@gmail.com-20110801115835-wl4n9p8lf0zxqjtu
[launcher] Escape key should dismiss Launcher and return keyboard focus to the previously
focused application.

forceActivateWindow() now saves the WindowID of the focused application before bringing the
Launcher up. On press of the Escape key, forceDeactivateWindow() is called which returns 
focus to the application if possible - and thus dismisses the Launcher.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: