From 347d839688c8fef02f6f49545e97e46af5f06923 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. --- 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 1c0e2939a8..ecb9008e73 100644 --- a/src/MacVim/MMWindowController.m +++ b/src/MacVim/MMWindowController.m @@ -1013,7 +1013,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