b74c4038429cac58e39ea0d108254c841b01ecdb
tdreszer
  Fri Nov 19 11:25:23 2010 -0800
Explicitly declare custom tracks as custom, to support drag virgins being on top
diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index 132d89c..1c8fb30 100644
--- src/hg/hgTracks/hgTracks.h
+++ src/hg/hgTracks/hgTracks.h
@@ -226,30 +226,31 @@
     /* e.g. the next gene. SO FAR THIS IS UNIMPLEMENTED. */
 
     char *(*itemDataName)(struct track *tg, char *itemName);
     /* If not NULL, function to translated an itemName into a data name.
      * This is can be used for looking up sequence, CDS, etc. It is used
      * to support item names that have uniqueness identifiers added to deal
      * with multiple alignments.  The resulting value should *not* be freed,
      * and it should be assumed that it might only remain valid for a short
      * period of time.*/
 
     int loadTime;	/* Time it takes to load (for performance tuning) */
     int drawTime;	/* Time it takes to draw (for performance tuning) */
 
     enum enumBool remoteDataSource; /* The data for this track is from a remote source */
                    /* Slow retrieval means image can be rendered via an AJAX callback. */
+    boolean customTrack; /* Need to explicitly declare this is a custom track */
     };
 
 
 typedef void (*TrackHandler)(struct track *tg);
 
 int trackPriCmp(const void *va, const void *vb);
 /* Compare for sort based on priority */
 
 boolean trackIsCompositeWithSubtracks(struct track *track);
 /* Temporary function until all composite tracks point to their own children */
 
 struct trackRef
 /* A reference to a track. */
     {
     struct trackRef *next;	/* Next in list. */