Add ctags.

This commit is contained in:
2025-09-12 03:36:16 -07:00
parent a342b3eb3b
commit d04d74c242
2 changed files with 6 additions and 1 deletions

View File

@@ -124,7 +124,7 @@
CGPoint itemOrigin = [[[_statusItem button] window] frame].origin; CGPoint itemOrigin = [[[_statusItem button] window] frame].origin;
// NOTE: -5 because NSMenu pops up higher than wanted; don't know how // 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 = CGFloat y =
NSHeight([scrn visibleFrame]) + [scrn visibleFrame].origin.y - 5; NSHeight([scrn visibleFrame]) + [scrn visibleFrame].origin.y - 5;

View File

@@ -29,5 +29,10 @@ $(EXEC).app: $(EXEC)
cp resources/AppIcon.icns $@/Contents/Resources/ && \ cp resources/AppIcon.icns $@/Contents/Resources/ && \
cp $(EXEC) $@/Contents/MacOS/ cp $(EXEC) $@/Contents/MacOS/
# Requires universal-ctags for Objective-C.
ctags:
ctags -R *.h *.m
clean: clean:
rm -rf $(EXEC) $(EXEC).dSYM $(EXEC).app rm -rf $(EXEC) $(EXEC).dSYM $(EXEC).app