Don't automatically focus when attach is called
Don't automatically focus when attach is called

Only focus when toggling the tree view or revealing
an active file.

This prevents the tree view from stealing focus when it
is attached during deserialization.

cgrabowski/webgl-studio-tree-view,samu/tree-view,learn-co/learn-ide-tree,tbryant/tree-view,jasonhinkle/tree-view,thgaskell/tree-view,rajendrant/tree-view-remote,benjaminRomano/tree-view,laituan245/tree-view,Galactix/tree-view,ALEXGUOQ/tree-view,atom/tree-view,ayumi/tree-view,matthewbauer/tree-view,jarig/tree-view,tomekwi/tree-view,pombredanne/tree-view-1