We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3102fa5 commit 0115344Copy full SHA for 0115344
QSPasteboardMonitor.m
@@ -29,7 +29,7 @@ - (void)checkPasteboard:(NSTimer *)timer{
29
return;
30
}
31
lastChangeCount = changeCount;
32
- [[NSNotificationCenter defaultCenter] postNotificationName:QSPasteboardDidChangeNotification object:@{@"Pasteboard" : [NSPasteboard generalPasteboard], @"ActiveApp" : [[[NSWorkspace sharedWorkspace] activeApplication] objectForKey:@"NSApplicationBundleIdentifier"]}];
+ [[NSNotificationCenter defaultCenter] postNotificationName:QSPasteboardDidChangeNotification object:@{@"Pasteboard" : [NSPasteboard generalPasteboard], @"ActiveApp" : [[NSWorkspace sharedWorkspace] frontmostApplication].bundleIdentifier}];
33
34
35
0 commit comments