--- xlwtabs.c~ Tue Jan 25 22:10:35 2000 +++ xlwtabs.c Sun Feb 06 09:35:09 2000 @@ -1273,13 +1273,6 @@ tab = (TabsConstraints) w->core.constraints ; - /* Unhighlight before we start messing with the stacking order. */ - if( tw->tabs.hilight != NULL ) - { - DrawHighlight(tw, tw->tabs.hilight, True) ; - tw->tabs.hilight = NULL; - } - if( tab->tabs.row == 0 ) { /* Easy case; undraw current top, undraw new top, assign new @@ -1322,6 +1315,8 @@ if( XtIsRealized(t) && w != tw->tabs.hilight ) { + if( tw->tabs.hilight != NULL ) + DrawHighlight(tw, tw->tabs.hilight, True) ; if( w != NULL ) DrawHighlight(tw, w, False) ; }