Skip to content
Snippets Groups Projects
Commit 5a6c0a0f authored by George Nachman's avatar George Nachman
Browse files

Fix bug where StealFocus wouldn't work on fullscreen windows.

parent 0148095e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2677,8 +2677,7 @@ static VT100TCC decode_string(unsigned char *datap,
[[SCREEN session] saveScrollPosition];
} else if ([key isEqualToString:@"StealFocus"]) {
[NSApp activateIgnoringOtherApps:YES];
[[[SCREEN display] window]makeKeyAndOrderFront:nil];
[[[SCREEN display] window]makeMainWindow];
[[[SCREEN display] window] makeKeyAndOrderFront:nil];
} else if ([key isEqualToString:@"ClearScrollback"]) {
[SCREEN clearBuffer];
}
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