mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Only spec window's web view should force focus
This commit is contained in:
@@ -157,8 +157,10 @@ class AtomWindow
|
||||
|
||||
@setupContextMenu()
|
||||
|
||||
@browserWindow.on 'blur', =>
|
||||
@browserWindow.focusOnWebView()
|
||||
if @isSpec
|
||||
# Spec window's web view should always have focus
|
||||
@browserWindow.on 'blur', =>
|
||||
@browserWindow.focusOnWebView()
|
||||
|
||||
openPath: (pathToOpen, initialLine, initialColumn) ->
|
||||
@openLocations([{pathToOpen, initialLine, initialColumn}])
|
||||
|
||||
Reference in New Issue
Block a user