adobe/brackets — pull request #1279 by tvoliter (2012-07-18 23:29:52+00:00)
Title: Don't set focus when popups close, fixes #1278

right now Menus and Context Menus do not take focus away from
between editors and other UI elements.
For now we don't set focus here and assume individual popups
adjust focus if necessary.

For popup manager to adjust focus we need a focus manager that remembers the last focused editor when focus moves to a non editor.
See story in Trello card #404

fixes #1278