mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Avoid switching Spaces when using 'mvim'
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user