Avoid switching Spaces when using 'mvim'

This commit is contained in:
Bjorn Winckler
2009-01-04 17:46:48 +01:00
parent 7845992803
commit 2ffc552c25
+1 -1
View File
@@ -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];