It had nothing to do with handle_focus_change_preliminary... it appears
there is something screwy with my gc cache, combined with not having a
background color defined for my text-cursor face. It is reusing the last
GC it found, and was basically redrawing the text in 'text-cursor' face
instead of 'default'. So it was white-on-white, which doesn't have very
good contrast.
Well, at least now I know where to go look for the problem... wheee!
-Bill P.