f1065efe3aadb9b2f83c1a3a0a48afd9a47d9153
braney
  Mon Mar 1 15:57:17 2021 -0800
implement wiggleWindow that forces a track into density coverage mode
when the window exceeds a specified width

diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index c9f0808..d4fb523 100644
--- src/hg/hgTracks/hgTracks.h
+++ src/hg/hgTracks/hgTracks.h
@@ -1609,32 +1609,32 @@
 /* No-op loadItems when we aren't going to try. */
 
 void filterItems(struct track *tg, boolean (*filter)(struct track *tg, void *item), 
                 char *filterType);
 /* Filter out items from track->itemList. */
 
 int gCmpPriority(const void *va, const void *vb);
 /* Compare groups based on priority. */
 
 int tgCmpPriority(const void *va, const void *vb);
 /* Compare to sort based on priority; use shortLabel as secondary sort key. */
 
 void printMenuBar();
 /* Put up the menu bar. */
 
-void checkIfWiggling(struct cart *cart, struct track *tg);
-/* Check to see if a linkedFeatures track should be drawing as a wiggle. */
+boolean checkIfWiggling(struct cart *cart, struct track *tg);
+/* Check to see if a track should be drawing as a wiggle. */
 
 boolean isTypeBedLike(struct track *track);
 /* Check if track type is BED-like packable thing (but not rmsk or joinedRmsk) */
 
 boolean isTypeUseItemNameAsKey(struct track *track);
 /* Check if track type is like expRatio and key is just item name. */
 
 boolean isTypeUseMapItemNameAsKey(struct track *track);
 /* Check if track type is like interact and uses map item name to link across multi regions */
 
 void setEMGeneTrack();
 /* Find the track for the gene table to use for exonMostly and geneMostly. */
 
 void findBestEMGeneTable(struct track *trackList);
 /* Find the best gene table to use for exonMostly */