Skip to content

Commit 20c3851

Browse files
lapofrandouglaskayama
authored andcommitted
Early-out of resize handling if the window has not been presented yet. Fix regression of the bug addressed in commit 40090e.
(cherry picked from commit 347d839)
1 parent 99f1453 commit 20c3851

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MacVim/MMWindowController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ - (void)windowDidResize:(id)sender
10231023
return;
10241024
}
10251025

1026-
if (!setupDone || fullScreenEnabled) return;
1026+
if (!setupDone || fullScreenEnabled || !windowPresented) return;
10271027

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

0 commit comments

Comments
 (0)