IDEView: set active pane focus state [#80356544]

Set focus state of IDE when window loses and gains focus, user switches
panes, tabs and apps.