From a7a6236b265a0c4fdf869a74a9bcf5671ca813bf Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 14 Aug 2014 14:37:15 -0700 Subject: [PATCH] Add maximized parameter --- src/atom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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