diff --git a/src/atom.coffee b/src/atom.coffee index df54425da..c92276fcc 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -211,7 +211,7 @@ class Atom extends Model # :width - The new width. # :height - The new height. # :maximized - A {Boolean} for the maximized window state. - setWindowDimensions: ({x, y, width, height}) -> + setWindowDimensions: ({x, y, width, height, maximized}) -> if maximized and process.platform isnt 'darwin' @maximize() else