diff --git a/src/AppDelegate.m b/src/AppDelegate.m index 8fe1cd5..6f31394 100644 --- a/src/AppDelegate.m +++ b/src/AppDelegate.m @@ -124,7 +124,7 @@ CGPoint itemOrigin = [[[_statusItem button] window] frame].origin; // NOTE: -5 because NSMenu pops up higher than wanted; don't know how - // it will behave on different displays and resolutions. + // it will behave on different displays, resolutions, or OS versions. CGFloat y = NSHeight([scrn visibleFrame]) + [scrn visibleFrame].origin.y - 5; diff --git a/src/Makefile b/src/Makefile index bb0c6cc..80f6012 100644 --- a/src/Makefile +++ b/src/Makefile @@ -29,5 +29,10 @@ $(EXEC).app: $(EXEC) cp resources/AppIcon.icns $@/Contents/Resources/ && \ cp $(EXEC) $@/Contents/MacOS/ +# Requires universal-ctags for Objective-C. +ctags: + ctags -R *.h *.m + clean: rm -rf $(EXEC) $(EXEC).dSYM $(EXEC).app +