Constrain window size during live resize
commiteeeab792c6301b12daf8c9be23e22ac010e0a636
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 18 Oct 2008 12:28:25 +0000 (18 14:28 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 18 Oct 2008 12:36:33 +0000 (18 14:36 +0200)
tree62a1e2078c576ef10808ec05760e14177c81f22f
parentab11c166546182f59acee1aceda2c96bde3b0542
Constrain window size during live resize

Ensure that the window size isn't larger than the visible frame of the
current screen.  This avoids problems where the window would "snap back"
immediately after being resized manually.
src/MacVim/MMWindowController.m