From b8e2540fef06407953cbf4cffdf8f2905fd1c95e Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Sun, 24 Jul 2011 21:35:29 +0200 Subject: [PATCH] Set proper animation behavior for window This causes a window to animate when it opens just like windows in other Lion apps do. --- src/MacVim/MMWindowController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MacVim/MMWindowController.m b/src/MacVim/MMWindowController.m index 25078398c6..591c8f4a24 100644 --- a/src/MacVim/MMWindowController.m +++ b/src/MacVim/MMWindowController.m @@ -183,6 +183,7 @@ #if (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7) [win setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; + [win setAnimationBehavior:NSWindowAnimationBehaviorDocumentWindow]; #endif return self;