rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Resize not saved after exiting when resized with external application #199

Closed bambu closed 8 years ago

bambu commented 8 years ago

Resizing a window with external application (such as Spectacle), exiting and reopening, does not reopen the window in its previous dimensions. Resizing by dragging then exiting does open up with the same dimensions next time.

This is caused because the saving of the width/height change is done on viewDidEndLiveResize. When resizing with an external app, the windowWillResize method is called and viewDidEndLiveResize is never hit.