Listen for :FOCUS-IN events and update the focus accordingly.
Merge pull request #154 from dolda2000/update-focus

Listen for :FOCUS-IN events and update the focus accordingly.