Skip to content
Snippets Groups Projects
Commit 270dd491 authored by Tom Feist's avatar Tom Feist
Browse files

renamed "BounceDockIcon" to "RequestAttention" to make it less mac-centric

parent 3c5c7868
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2621,10 +2621,9 @@ static VT100TCC decode_string(unsigned char *datap,
if (shape >= 0 && shape < sizeof(shapeMap)/sizeof(int)) {
[[[SCREEN session] TEXTVIEW] setCursorType:shapeMap[shape]];
}
} else if ([key isEqualToString:@"BounceDockIcon"]) {
} else if ([key isEqualToString:@"RequestAttention"]) {
if ([value boolValue]) {
shouldBounceDockIcon =
[NSApp requestUserAttention:NSCriticalRequest];
shouldBounceDockIcon = [NSApp requestUserAttention:NSCriticalRequest];
} else {
[NSApp cancelUserAttentionRequest:shouldBounceDockIcon];
}
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