Skip to content

Commit

Permalink
Set proper animation behavior for window
Browse files Browse the repository at this point in the history
This causes a window to animate when it opens just like windows in other
Lion apps do.
  • Loading branch information
b4winckler committed Jul 24, 2011
1 parent 6f05829 commit b8e2540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MacVim/MMWindowController.m
Expand Up @@ -183,6 +183,7 @@ - (id)initWithVimController:(MMVimController *)controller

#if (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7)
[win setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
[win setAnimationBehavior:NSWindowAnimationBehaviorDocumentWindow];
#endif

return self;
Expand Down

0 comments on commit b8e2540

Please sign in to comment.