diff --git a/src/MacVim/MMWindowController.m b/src/MacVim/MMWindowController.m index 6734f4e079..ad46b95f5b 100644 --- a/src/MacVim/MMWindowController.m +++ b/src/MacVim/MMWindowController.m @@ -1567,6 +1567,12 @@ - (BOOL)maximizeWindow:(int)options { + if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_10_Max) { + // NOTE: Prevent to resize the window in Split View on El Capitan or + // later. + return NO; + } + int currRows, currColumns; [[vimView textView] getMaxRows:&currRows columns:&currColumns];