Skip to content

Commit 4064af0

Browse files
authored
Merge pull request #307 from macvim-dev/fix-splitscreen-pixel-gap
Fix white line in tiled fullscreen windows.
2 parents 6a8af04 + aa1cb39 commit 4064af0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/MacVim/MMWindowController.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,9 @@ - (void)windowWillEnterFullScreen:(NSNotification *)notification
12071207
// Store window frame and use it when exiting full-screen.
12081208
preFullScreenFrame = [decoratedWindow frame];
12091209

1210+
// The separator should never be visible in fullscreen or split-screen.
1211+
[decoratedWindow hideTablineSeparator:YES];
1212+
12101213
// ASSUMPTION: fullScreenEnabled always reflects the state of Vim's 'fu'.
12111214
if (!fullScreenEnabled) {
12121215
ASLogDebug(@"Full-screen out of sync, tell Vim to set 'fu'");
@@ -1306,6 +1309,8 @@ - (void)windowDidExitFullScreen:(NSNotification *)notification
13061309
// full-screen by moving the window out from Split View.
13071310
[vimController sendMessage:BackingPropertiesChangedMsgID data:nil];
13081311
}
1312+
1313+
[self updateTablineSeparator];
13091314
}
13101315

13111316
- (void)windowDidFailToExitFullScreen:(NSWindow *)window

0 commit comments

Comments
 (0)