mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Emit window:loaded event after editor window is started
This commit is contained in:
@@ -25,6 +25,7 @@ module.exports = ({blobStore}) ->
|
||||
|
||||
atom.displayWindow().then ->
|
||||
atom.startEditorWindow()
|
||||
require('electron').ipcRenderer.send('window-command', 'window:loaded')
|
||||
|
||||
# Workaround for focus getting cleared upon window creation
|
||||
windowFocused = ->
|
||||
|
||||
@@ -85,7 +85,6 @@
|
||||
|
||||
var initialize = require(loadSettings.windowInitializationScript)
|
||||
initialize({blobStore: blobStore})
|
||||
require('electron').ipcRenderer.send('window-command', 'window:loaded')
|
||||
}
|
||||
|
||||
function setupCsonCache (cacheDir) {
|
||||
|
||||
Reference in New Issue
Block a user