From 20c3851c5578f1cd71ecc4db960168f21b2ac731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Lapointe?= Date: Sun, 23 Aug 2015 18:07:47 +0200 Subject: [PATCH] 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 347d839688c8fef02f6f49545e97e46af5f06923) --- 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 f71b1ffc11..2d04397474 100644 --- a/src/MacVim/MMWindowController.m +++ b/src/MacVim/MMWindowController.m @@ -1023,7 +1023,7 @@ return; } - 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