mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Merge pull request #103 from macvim-dev/fix/el-capitan-split-view-resize
Fix resizing issue in Split View on El Capitan
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user