mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Focus right after showing
This commit is contained in:
@@ -505,9 +505,9 @@ class Atom extends Model
|
||||
displayWindow: ->
|
||||
dimensions = @restoreWindowDimensions()
|
||||
@show()
|
||||
@focus()
|
||||
|
||||
setImmediate =>
|
||||
@focus()
|
||||
@setFullScreen(true) if @workspace?.fullScreen
|
||||
@maximize() if dimensions?.maximized and process.platform isnt 'darwin'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user