Skip to content
Snippets Groups Projects
Commit 8c53150a authored by Gordon Child's avatar Gordon Child
Browse files

makeMainWindow is required when the terminal is in another space for steal focus to work

parent c5480678
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2678,6 +2678,7 @@ static VT100TCC decode_string(unsigned char *datap,
} else if ([key isEqualToString:@"StealFocus"]) {
[NSApp activateIgnoringOtherApps:YES];
[[[SCREEN display] window]makeKeyAndOrderFront:nil];
[[[SCREEN display] window]makeMainWindow];
}
} else if (token.type == XTERMCC_SET_PALETTE) {
NSString* argument = token.u.string;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment