Focus new item if pane was focused when removing previous active item
Antonio Scandurra
created
Previously, we were relying on the item getting blurred and the workspace
receiving focus, which would in turn focus the active pane. This doesn't
play well with docks because they aren't part of the workspace panes.