mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Remove core:close event from window
This commit is contained in:
@@ -87,7 +87,6 @@ window.installAtomCommand = (commandPath) ->
|
||||
ChildProcess.exec("chmod u+x '#{commandPath}'")
|
||||
|
||||
window.handleWindowEvents = ->
|
||||
$(window).on 'core:close', => window.close()
|
||||
$(window).command 'window:toggle-full-screen', => atom.toggleFullScreen()
|
||||
$(window).on 'focus', -> $("body").removeClass('is-blurred')
|
||||
$(window).on 'blur', -> $("body").addClass('is-blurred')
|
||||
|
||||
Reference in New Issue
Block a user