From 40090ebac5e0905eed1bcc19488ab06e3183d466 Mon Sep 17 00:00:00 2001 From: Josh Petrie Date: Wed, 15 Apr 2015 16:29:00 -0700 Subject: [PATCH] Early-out of resize handling if the window has not been presented yet. --- src/MacVim/MMWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacVim/MMWindowController.m b/src/MacVim/MMWindowController.m index b6c6786bf1..6fb25eba3a 100644 --- a/src/MacVim/MMWindowController.m +++ b/src/MacVim/MMWindowController.m @@ -993,7 +993,7 @@ - (void)windowDidResize:(id)sender { - if (!setupDone || fullScreenEnabled) return; + if (!setupDone || fullScreenEnabled || !windowPresented) return; // NOTE: Since we have no control over when the window may resize (Cocoa // may resize automatically) we simply set the view to fill the entire