We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 406259c commit 0cdf775Copy full SHA for 0cdf775
1 file changed
src/MacVim/MMWindowController.m
@@ -1567,6 +1567,12 @@ - (void)updateToolbar
1567
1568
- (BOOL)maximizeWindow:(int)options
1569
{
1570
+ if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_10_Max) {
1571
+ // NOTE: Prevent to resize the window in Split View on El Capitan or
1572
+ // later.
1573
+ return NO;
1574
+ }
1575
+
1576
int currRows, currColumns;
1577
[[vimView textView] getMaxRows:&currRows columns:&currColumns];
1578
0 commit comments