diff --git a/src/application-delegate.coffee b/src/application-delegate.coffee index 79afee802..f2b425137 100644 --- a/src/application-delegate.coffee +++ b/src/application-delegate.coffee @@ -28,7 +28,7 @@ class ApplicationDelegate {width, height} setWindowSize: (width, height) -> - ipc.send("call-window-method", "setSize", width, height) + remote.getCurrentWindow().setSize(width, height) getWindowPosition: -> [x, y] = remote.getCurrentWindow().getPosition()