trackWindow(win) {
    this.untrackWindow();
    this.window = win;
    win.addListener('move', this._movedHandler);
    win.addListener('resize', this._resizedHandler);
  }
/**
   * Starts tracking a window for move and resize events to call corresponding
   * save functions.
   * Note, when the window is distroyed call `untrackWindow` or it will cause
   * a memory leak.
   * @param {BrowserWindow} win
   */
Starts tracking a window for move and resize events to call corresponding
save functions.
Note, when the window is distroyed call `untrackWindow` or it will cause
a memory leak.
Starts tracking a window for move and resize events to call corresponding save functions . Note when the window is distroyed call ` untrackWindow ` or it will cause a memory leak .
trackWindow(win) {
    this.untrackWindow();
    this.window = win;
    win.addListener('move', this._movedHandler);
    win.addListener('resize', this._resizedHandler);
  }
trackWindow ( win ) { this . untrackWindow ( ) ; this . window = win ; win . addListener ( 'move' , this . _movedHandler ) ; win . addListener ( 'resize' , this . _resizedHandler ) ; }
Starts tracking a window for move and resize events to call corresponding
 save functions.
Starts tracking a window for move and resize events to call corresponding save functions .