Adding initial work on new plugin API. THIS BREAKS MT. We are working to
[MenuTunes.git] / KeyBroadcaster.m
index 7b47d83..724c7a2 100755 (executable)
@@ -16,7 +16,9 @@
     modifiers = [event modifierFlags];
     
     modifiers = [KeyBroadcaster cocoaToCarbonModifiers:modifiers];
     modifiers = [event modifierFlags];
     
     modifiers = [KeyBroadcaster cocoaToCarbonModifiers:modifiers];
-    [self _broadcastKeyCode:keyCode andModifiers:modifiers];
+    if (modifiers > 0) {
+        [self _broadcastKeyCode:keyCode andModifiers:modifiers];
+    }
 }
 
 - (BOOL)performKeyEquivalent:(NSEvent *)event
 }
 
 - (BOOL)performKeyEquivalent:(NSEvent *)event