~pete-woods/unity-mir/window-stack-get-property

Viewing all changes in revision 103.

  • Committer: Tarmac
  • Author(s): Robert Carr, Michał Sawicz
  • Date: 2013-10-08 12:48:10 UTC
  • mfrom: (100.1.3 default-input-focus)
  • Revision ID: tarmac-20131008124810-5dvwnvcvtdrvgg8z
Focus the shell when no sessions are focused.

It's difficult with the current architecture for the shell to receive keyboard focus, as it does not have an associated application session. Work around this by implementing a defaulting FocusSetter, which assigns keyboard focus to the shell surface when focus would otherwise be cleared.

Approved by PS Jenkins bot, Michał Sawicz.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: