Skip to content

Commit 40090eb

Browse files
committed
Early-out of resize handling if the window has not been presented yet.
1 parent d1424d3 commit 40090eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MacVim/MMWindowController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ - (void)windowDidMove:(NSNotification *)notification
993993

994994
- (void)windowDidResize:(id)sender
995995
{
996-
if (!setupDone || fullScreenEnabled) return;
996+
if (!setupDone || fullScreenEnabled || !windowPresented) return;
997997

998998
// NOTE: Since we have no control over when the window may resize (Cocoa
999999
// may resize automatically) we simply set the view to fill the entire

0 commit comments

Comments
 (0)