IDEView: set active pane state [#80356544]

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