From 2ffc552c25fb949f0d9ddf1e284f40959cd91551 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Sun, 4 Jan 2009 17:46:48 +0100 Subject: [PATCH] Avoid switching Spaces when using 'mvim' --- src/MacVim/MMAppController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacVim/MMAppController.m b/src/MacVim/MMAppController.m index ed8e0d104c..e943741b1d 100644 --- a/src/MacVim/MMAppController.m +++ b/src/MacVim/MMAppController.m @@ -1077,7 +1077,7 @@ fsEventCallback(ConstFSEventStreamRef streamRef, // MacVim would steal the focus if another app was activated while the // untitled window was loading. if (!args || args != [NSNull null]) - [NSApp activateIgnoringOtherApps:YES]; + [self activateWhenNextWindowOpens]; if (args) [pidArguments removeObjectForKey:pidKey];